mod_spam_filter: Don't filter MUC messages
This commit is contained in:
parent
4787e890af
commit
c1591030b0
|
@ -233,7 +233,8 @@ s2s_receive_packet({drop, _State} = Acc) ->
|
||||||
s2s_receive_packet({#message{from = From,
|
s2s_receive_packet({#message{from = From,
|
||||||
to = #jid{lserver = LServer} = To,
|
to = #jid{lserver = LServer} = To,
|
||||||
type = Type, body = Body} = Msg,
|
type = Type, body = Body} = Msg,
|
||||||
State} = Acc) when Type /= error ->
|
State} = Acc) when Type /= groupchat,
|
||||||
|
Type /= error ->
|
||||||
case needs_checking(From, To) of
|
case needs_checking(From, To) of
|
||||||
true ->
|
true ->
|
||||||
case check_from(LServer, From) of
|
case check_from(LServer, From) of
|
||||||
|
|
Loading…
Reference in New Issue