mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Check privacy of outgoing Message stanzas (EJAB-1320)
This commit is contained in:
parent
2e932dd85c
commit
eddbad2c76
@ -1026,7 +1026,8 @@ session_established2(El, StateData) ->
|
||||
ejabberd_hooks:run(user_send_packet,
|
||||
Server,
|
||||
[FromJID, ToJID, NewEl]),
|
||||
ejabberd_router:route(FromJID, ToJID, NewEl),
|
||||
check_privacy_route(FromJID, StateData, FromJID,
|
||||
ToJID, NewEl),
|
||||
StateData;
|
||||
_ ->
|
||||
StateData
|
||||
|
Loading…
Reference in New Issue
Block a user