mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +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";
|
return true, "invite";
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
-- Handle messages
|
-- Handle messages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue