mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Archive messages with type=normal and pubsub payload (like mucsub messages)
This commit is contained in:
parent
510925c9a1
commit
a16acd77ed
@ -649,7 +649,8 @@ should_archive(#message{body = Body, subject = Subject,
|
||||
false;
|
||||
none ->
|
||||
xmpp:get_text(Body) /= <<>> orelse
|
||||
xmpp:get_text(Subject) /= <<>>
|
||||
xmpp:get_text(Subject) /= <<>> orelse
|
||||
xmpp:has_subtag(Pkt, #ps_event{})
|
||||
end
|
||||
end;
|
||||
should_archive(_, _LServer) ->
|
||||
|
Loading…
Reference in New Issue
Block a user