mirror of https://github.com/dani/patrix.git
Alos trim / at the end of the server to build Matrix ID
This commit is contained in:
parent
34db17e370
commit
e74a1a1431
|
@ -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…
Reference in New Issue