mirror of https://github.com/dani/patrix.git
Fix get-room-id, Room ID is already resolved at this point
This commit is contained in:
parent
b72ca6776f
commit
4f33da6593
|
@ -547,7 +547,7 @@ elsif ($opt->{action} eq 'get-room-list'){
|
|||
list_room();
|
||||
}
|
||||
elsif ($opt->{action} eq 'get-room-id'){
|
||||
print room_alias_to_id($opt->{room}) . "\n";
|
||||
print $opt->{room} . "\n";
|
||||
}
|
||||
elsif ($opt->{action} =~ m/^send\-(msg|message|notice)$/){
|
||||
join_room();
|
||||
|
|
Loading…
Reference in New Issue