comparison mod_mam_muc/mod_mam_muc.lua @ 1679:c77e9522dc66

mod_mam_muc: Advertise MAM feature on bare JID room disco#info (only effective after prosody 57bc52f67564)
author Kim Alvefur <zash@zash.se>
date Sat, 25 Apr 2015 15:51:22 +0200
parents 66d67f0bae16
children 1a8c791d365f
comparison
equal deleted inserted replaced
1678:9ee56cc1be2c 1679:c77e9522dc66
358 358
359 -- TODO should we perhaps log presence as well? 359 -- TODO should we perhaps log presence as well?
360 -- And role/affiliation changes? 360 -- And role/affiliation changes?
361 361
362 module:add_feature(xmlns_mam); 362 module:add_feature(xmlns_mam);
363
364 module:hook("muc-disco#info", function(event)
365 event.reply:tag("feature", {var=xmlns_mam}):up();
366 end);