diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-21 19:41:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-21 19:41:43 +0200 |
commit | ef0b90ff2393da021d6ac0f101aaba533a4825d9 (patch) | |
tree | 883247ac1de7dfc4bbc8b4093f1a741072dfb39e /plugins/mod_mam/mod_mam.lua | |
parent | 230ceb086948cd12c258ca78cfbf8a345904fd8e (diff) | |
download | prosody-ef0b90ff2393da021d6ac0f101aaba533a4825d9.tar.gz prosody-ef0b90ff2393da021d6ac0f101aaba533a4825d9.zip |
mod_mam: Prefer not archiving if no interesting payloads are found
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index db0e7f8d..69282857 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -305,7 +305,9 @@ local function should_store(stanza) --> boolean, reason: string return true, "invite"; end - return true, "default"; + -- The IM-NG thing to do here would be to return `not st_to_full` + -- One day ... + return false, "default"; end -- Handle messages |