Software / code / prosody
Comparison
plugins/mod_mam/mod_mam.lua @ 12307:dcad3a207915
mod_mam: Fix a comment
This is the noop that gets replaced later
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 11 Dec 2021 18:01:04 +0100 |
| parent | 12306:81fc7fc77e68 |
| child | 12555:519e6403f455 |
| child | 12857:cc86d77481fc |
comparison
equal
deleted
inserted
replaced
| 12306:81fc7fc77e68 | 12307:dcad3a207915 |
|---|---|
| 52 .."See https://prosody.im/doc/storage and https://prosody.im/doc/archiving for more information"); | 52 .."See https://prosody.im/doc/storage and https://prosody.im/doc/archiving for more information"); |
| 53 end | 53 end |
| 54 local use_total = module:get_option_boolean("mam_include_total", true); | 54 local use_total = module:get_option_boolean("mam_include_total", true); |
| 55 | 55 |
| 56 function schedule_cleanup() | 56 function schedule_cleanup() |
| 57 -- replaced by non-noop later if cleanup is enabled | 57 -- replaced later if cleanup is enabled |
| 58 end | 58 end |
| 59 | 59 |
| 60 -- Handle prefs. | 60 -- Handle prefs. |
| 61 module:hook("iq/self/"..xmlns_mam..":prefs", function(event) | 61 module:hook("iq/self/"..xmlns_mam..":prefs", function(event) |
| 62 local origin, stanza = event.origin, event.stanza; | 62 local origin, stanza = event.origin, event.stanza; |