Mercurial > prosody-hg
comparison plugins/mod_mam/mod_mam.lua @ 7905:daf83bd94906
mod_mam: Fix typo in comment
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 20 Feb 2017 00:38:32 +0100 |
| parents | c011cecad576 |
| children | aa6b036150eb |
comparison
equal
deleted
inserted
replaced
| 7904:c011cecad576 | 7905:daf83bd94906 |
|---|---|
| 371 end | 371 end |
| 372 | 372 |
| 373 -- Stanzas sent by local clients | 373 -- Stanzas sent by local clients |
| 374 module:hook("pre-message/bare", c2s_message_handler, 0); | 374 module:hook("pre-message/bare", c2s_message_handler, 0); |
| 375 module:hook("pre-message/full", c2s_message_handler, 0); | 375 module:hook("pre-message/full", c2s_message_handler, 0); |
| 376 -- Stanszas to local clients | 376 -- Stanzas to local clients |
| 377 module:hook("message/bare", message_handler, 0); | 377 module:hook("message/bare", message_handler, 0); |
| 378 module:hook("message/full", message_handler, 0); | 378 module:hook("message/full", message_handler, 0); |
| 379 | 379 |
| 380 module:hook("account-disco-info", function(event) | 380 module:hook("account-disco-info", function(event) |
| 381 (event.reply or event.stanza):tag("feature", {var=xmlns_mam}):up(); | 381 (event.reply or event.stanza):tag("feature", {var=xmlns_mam}):up(); |
