25
1
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:
Badlop 2010-10-16 20:32:02 +02:00
parent 84d4a1619b
commit e2dbad6242

View File

@ -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" ->