# HG changeset patch # User Kim Alvefur # Date 1587490903 -7200 # Node ID 27f1fcd85ccd458415a18ba055ec4e93f7d79a54 # Parent 08efb60faf67485367316da6e430bfc8e4b3f1eb mod_mam: Prefer not archiving if no interesting payloads are found diff -r 08efb60faf67 -r 27f1fcd85ccd plugins/mod_mam/mod_mam.lua --- 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