Comparison

mod_http_muc_log/mod_http_muc_log.lua @ 2763:a6d19aea9b73

mod_http_muc_log: Ignore 'logging' room option, it's no longer set by mod_mam_muc
author Kim Alvefur <zash@zash.se>
date Mon, 04 Sep 2017 14:49:37 +0200
parent 2685:cd5781ca782d
child 2826:ed26608920d4
comparison
equal deleted inserted replaced
2762:f2096c03428b 2763:a6d19aea9b73
52 if type(room) == "string" then 52 if type(room) == "string" then
53 room = get_room(room); 53 room = get_room(room);
54 end 54 end
55 return (room 55 return (room
56 and not (room.get_hidden or room.is_hidden)(room) 56 and not (room.get_hidden or room.is_hidden)(room)
57 and not (room.get_members_only or room.is_members_only)(room) 57 and not (room.get_members_only or room.is_members_only)(room))
58 and room._data.logging == true);
59 end 58 end
60 59
61 local function sort_Y(a,b) return a.year > b.year end 60 local function sort_Y(a,b) return a.year > b.year end
62 local function sort_m(a,b) return a.n > b.n end 61 local function sort_m(a,b) return a.n > b.n end
63 62