equal
deleted
inserted
replaced
182 end |
182 end |
183 end |
183 end |
184 |
184 |
185 module:hook("message/bare", message_handler, 2); |
185 module:hook("message/bare", message_handler, 2); |
186 |
186 |
|
187 module:hook("muc-room-destroyed", function(event) |
|
188 archive:delete(jid_split(event.room.jid)); |
|
189 end); |
|
190 |
187 -- TODO should we perhaps log presence as well? |
191 -- TODO should we perhaps log presence as well? |
188 -- And role/affiliation changes? |
192 -- And role/affiliation changes? |
189 |
193 |
190 module:add_feature(xmlns_mam); |
194 module:add_feature(xmlns_mam); |