mod_spam_filter: Don't filter MUC messages

This commit is contained in:
Holger Weiss 2019-04-15 00:15:10 +02:00
parent 4787e890af
commit c1591030b0
1 changed files with 2 additions and 1 deletions

View File

@ -233,7 +233,8 @@ s2s_receive_packet({drop, _State} = Acc) ->
s2s_receive_packet({#message{from = From,
to = #jid{lserver = LServer} = To,
type = Type, body = Body} = Msg,
State} = Acc) when Type /= error ->
State} = Acc) when Type /= groupchat,
Type /= error ->
case needs_checking(From, To) of
true ->
case check_from(LServer, From) of