From e74a1a143181941e662d1d185897ad11b8b78520 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 24 Sep 2017 11:42:50 +0200 Subject: [PATCH] Alos trim / at the end of the server to build Matrix ID --- scripts/patrix | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/patrix b/scripts/patrix index c89d217..77ec85d 100644 --- a/scripts/patrix +++ b/scripts/patrix @@ -226,6 +226,7 @@ sub who_am_i { # Lets just build it manually for now my $server = $opt->{server}; $server =~ s|^https?://||; + $server =~ s|/$||; return '@' . $opt->{user} .':' . $server; }