Fix get-room-id, Room ID is already resolved at this point

tags/patrix-0.1.7-1
Daniel Berteaud 7 years ago
parent b72ca6776f
commit 4f33da6593
  1. 2
      scripts/patrix

@ -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…
Cancel
Save