From 4f33da65937af3df506b7064374d9a4622c43b15 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 23 Nov 2017 07:52:30 +0100 Subject: [PATCH] Fix get-room-id, Room ID is already resolved at this point --- scripts/patrix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/patrix b/scripts/patrix index 1d7aded..73f50c7 100644 --- a/scripts/patrix +++ b/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();