# HG changeset patch # User Kim Alvefur # Date 1705402042 -3600 # Node ID 0ee77be396b927bebf332adff890535da6af1364 # Parent f76909ec13000d5b0b63997223227c79e47aa326 mod_http_muc_log: Remove compat for very old MUC API room:get_public() first appeared in 0.10.0 diff -r f76909ec1300 -r 0ee77be396b9 mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Sat Jan 13 12:03:15 2024 +0000 +++ b/mod_http_muc_log/mod_http_muc_log.lua Tue Jan 16 11:47:22 2024 +0100 @@ -542,7 +542,7 @@ local request, response = event.request, event.response; local room_list, i = {}, 1; for room in each_room() do - if not (room.get_hidden or room.is_hidden)(room) then + if room:get_public() then local localpart = jid_split(room.jid); room_list[i], i = { jid = room.jid;