Mercurial > prosody-modules
comparison mod_mam_muc/mod_mam_muc.lua @ 1315:e8eebf281405
mod_mam_muc: Remove code that should have been removed in previous commit
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 20 Feb 2014 20:40:38 +0100 |
| parents | cc9831033f5d |
| children | 853a382c9bd6 |
comparison
equal
deleted
inserted
replaced
| 1314:cc9831033f5d | 1315:e8eebf281405 |
|---|---|
| 107 room.send_history = nil; | 107 room.send_history = nil; |
| 108 room.save_to_history = nil; | 108 room.save_to_history = nil; |
| 109 end | 109 end |
| 110 end | 110 end |
| 111 end); | 111 end); |
| 112 end | |
| 113 | |
| 114 local _send_history = room_mt.send_history; | |
| 115 local _save_to_history = room_mt.save_to_history; | |
| 116 function module.unload() | |
| 117 room_mt.send_history = _send_history; | |
| 118 room_mt.save_to_history = _save_to_history; | |
| 119 end | 112 end |
| 120 | 113 |
| 121 -- Handle archive queries | 114 -- Handle archive queries |
| 122 module:hook("iq-get/bare/"..xmlns_mam..":query", function(event) | 115 module:hook("iq-get/bare/"..xmlns_mam..":query", function(event) |
| 123 local origin, stanza = event.origin, event.stanza; | 116 local origin, stanza = event.origin, event.stanza; |
