Software /
code /
prosody
Diff
plugins/mod_mam/mod_mam.lua @ 10741:27f1fcd85ccd
mod_mam: Prefer not archiving if no interesting payloads are found
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 21 Apr 2020 19:41:43 +0200 |
parent | 10740:08efb60faf67 |
child | 10742:70b7c8f3d32d |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Tue Apr 21 01:29:58 2020 +0200 +++ b/plugins/mod_mam/mod_mam.lua Tue Apr 21 19:41:43 2020 +0200 @@ -305,7 +305,9 @@ 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