mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Check privacy of outgoing IQ stanzas (EJAB-1320)
This commit is contained in:
parent
84d4a1619b
commit
e2dbad6242
@ -1008,8 +1008,7 @@ session_established2(El, StateData) ->
|
|||||||
user_send_packet,
|
user_send_packet,
|
||||||
Server,
|
Server,
|
||||||
[FromJID, ToJID, NewEl]),
|
[FromJID, ToJID, NewEl]),
|
||||||
ejabberd_router:route(
|
check_privacy_route(FromJID, StateData, FromJID, ToJID, NewEl),
|
||||||
FromJID, ToJID, NewEl),
|
|
||||||
StateData
|
StateData
|
||||||
end;
|
end;
|
||||||
"message" ->
|
"message" ->
|
||||||
|
Loading…
Reference in New Issue
Block a user