mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Archive messages with type=normal and pubsub payload (like mucsub messages)
This commit is contained in:
parent
510925c9a1
commit
a16acd77ed
1 changed files with 2 additions and 1 deletions
|
@ -649,7 +649,8 @@ should_archive(#message{body = Body, subject = Subject,
|
||||||
false;
|
false;
|
||||||
none ->
|
none ->
|
||||||
xmpp:get_text(Body) /= <<>> orelse
|
xmpp:get_text(Body) /= <<>> orelse
|
||||||
xmpp:get_text(Subject) /= <<>>
|
xmpp:get_text(Subject) /= <<>> orelse
|
||||||
|
xmpp:has_subtag(Pkt, #ps_event{})
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
should_archive(_, _LServer) ->
|
should_archive(_, _LServer) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue