Software /
code /
prosody-modules
Comparison
mod_mam/mod_mam.lua @ 1771:398a007da84e
mod_mam: Same with no-storage, not no-store
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Jul 2015 20:30:17 +0200 |
parent | 1770:2c43e81236a3 |
child | 1773:fb2b9a2e2316 |
comparison
equal
deleted
inserted
replaced
1770:2c43e81236a3 | 1771:398a007da84e |
---|---|
229 or orig_type == "groupchat" | 229 or orig_type == "groupchat" |
230 -- or that don't have a <body/> | 230 -- or that don't have a <body/> |
231 or not stanza:get_child("body") | 231 or not stanza:get_child("body") |
232 -- or if hints suggest we shouldn't | 232 -- or if hints suggest we shouldn't |
233 or stanza:get_child("no-permanent-storage", "urn:xmpp:hints") | 233 or stanza:get_child("no-permanent-storage", "urn:xmpp:hints") |
234 or stanza:get_child("no-store", "urn:xmpp:hints") then | 234 or stanza:get_child("no-storage", "urn:xmpp:hints") then |
235 module:log("debug", "Not archiving stanza: %s (content)", stanza:top_tag()); | 235 module:log("debug", "Not archiving stanza: %s (content)", stanza:top_tag()); |
236 return; | 236 return; |
237 end | 237 end |
238 | 238 |
239 -- Whos storage do we put it in? | 239 -- Whos storage do we put it in? |