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.
This commit is contained in:
Paweł Chmielowski 2022-02-01 15:18:50 +01:00
parent 52ac941034
commit cae4fbb40b
1 changed files with 1 additions and 1 deletions

View File

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