mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_mam: Prefer not archiving if no interesting payloads are found
This commit is contained in:
parent
78668f1be3
commit
617ac06638
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue