mod_mam_muc/mod_mam_muc.lua
changeset 1683 c77e9522dc66
parent 1654 66d67f0bae16
child 1695 1a8c791d365f
equal deleted inserted replaced
1682:9ee56cc1be2c 1683: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);