mod_mam: Prefer not archiving if no interesting payloads are found

This commit is contained in:
Kim Alvefur 2020-04-21 19:41:43 +02:00
parent 78668f1be3
commit 617ac06638

View file

@ -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