diff options
author | Paweł Chmielowski <pawel@process-one.net> | 2022-02-01 15:18:50 +0100 |
---|---|---|
committer | Paweł Chmielowski <pawel@process-one.net> | 2022-02-01 15:18:50 +0100 |
commit | cae4fbb40ba9f61690224ba8a55de7dbae8e7f58 (patch) | |
tree | 0046b18717345794a6b8e93bc542f348c04cf28e | |
parent | mod_shared_roster: Adjust special group cache size (diff) |
Store all mucsub notifications not only message notifications
Previously we stored only message/subject change notifications, but if user
request also change notificaitons for affiliation/config/subscribers then
i don't see reason why we shouldn't store it as well.
-rw-r--r-- | src/mod_mam.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 9bf154f58..5bf42a759 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -740,7 +740,7 @@ should_archive(#message{body = Body, subject = Subject, #message{} = Msg -> should_archive(Msg, LServer); _ -> - false + misc:is_mucsub_message(Pkt) end end end |