Alos trim / at the end of the server to build Matrix ID

tags/patrix-0.1.4-1
Daniel Berteaud 7 years ago
parent 34db17e370
commit e74a1a1431
  1. 1
      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;
}

Loading…
Cancel
Save