Software /
code /
prosody-modules
Comparison
mod_mam_muc/mod_mam_muc.lua @ 2428:06e3b0ef8bdf
mod_mam_muc: Remove TODO about logging presence since it can do that already
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 26 Dec 2016 15:43:32 +0100 |
parent | 2427:e5795f5f7a7b |
child | 2429:0b3c7b03cb90 |
comparison
equal
deleted
inserted
replaced
2427:e5795f5f7a7b | 2428:06e3b0ef8bdf |
---|---|
386 module:hook("muc-room-destroyed", function(event) | 386 module:hook("muc-room-destroyed", function(event) |
387 local room_node = jid_split(event.room.jid); | 387 local room_node = jid_split(event.room.jid); |
388 archive:delete(room_node); | 388 archive:delete(room_node); |
389 end); | 389 end); |
390 | 390 |
391 -- TODO should we perhaps log presence as well? | |
392 -- And role/affiliation changes? | 391 -- And role/affiliation changes? |
393 | 392 |
394 module:add_feature(xmlns_mam); | 393 module:add_feature(xmlns_mam); |
395 | 394 |
396 module:hook("muc-disco#info", function(event) | 395 module:hook("muc-disco#info", function(event) |