From 33dfbf1ef69a1b18d14d7517904494a5d1673498 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 9 Apr 2014 23:30:03 +0200 Subject: [PATCH] mod_muc_admin: Fix "muc_online_rooms" output Don't split the components of room JIDs in the "muc_online_rooms" output. --- mod_muc_admin/src/mod_muc_admin.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_muc_admin/src/mod_muc_admin.erl b/mod_muc_admin/src/mod_muc_admin.erl index bf05c81..fd7982d 100644 --- a/mod_muc_admin/src/mod_muc_admin.erl +++ b/mod_muc_admin/src/mod_muc_admin.erl @@ -171,9 +171,9 @@ muc_online_rooms(ServerHost) -> fun({_, {Roomname, Host}, _}, Results) -> case MUCHost of global -> - [Roomname, <<"@">>, Host | Results]; + [<> | Results]; Host -> - [Roomname, <<"@">>, Host | Results]; + [<> | Results]; _ -> Results end