# HG changeset patch # User Kim Alvefur # Date 1527530686 -7200 # Node ID 4d46658b699802c0e26467b266df45009dc0fcd2 # Parent f69a2e97d91273d1bbc06148eb9ae01c5f1f1d0e mod_http_muc_log: Only exclude hidden rooms from listing (like disco#items) diff -r f69a2e97d912 -r 4d46658b6998 mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 19:06:49 2018 +0200 +++ b/mod_http_muc_log/mod_http_muc_log.lua Mon May 28 20:04:46 2018 +0200 @@ -289,7 +289,7 @@ local response = event.response; local room_list, i = {}, 1; for room in each_room() do - if public_room(room) then + if (room.get_hidden or room.is_hidden)(room) then room_list[i], i = { href = get_link(jid_split(room.jid), nil); name = room:get_name();