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,
|
||||
Server,
|
||||
[FromJID, ToJID, NewEl]),
|
||||
ejabberd_router:route(
|
||||
FromJID, ToJID, NewEl),
|
||||
check_privacy_route(FromJID, StateData, FromJID, ToJID, NewEl),
|
||||
StateData
|
||||
end;
|
||||
"message" ->
|
||||
|
Loading…
Reference in New Issue
Block a user