25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

Don't try to send privacy pushes in OOR mode (a line was not removed in the previous commit)

This commit is contained in:
Alexey Shchepin 2012-10-30 13:45:04 +02:00
parent bef66dba24
commit 56e7affdfd

View File

@ -1511,7 +1511,6 @@ handle_info({route, _From, _To, {broadcast, Data}},
PrivFrom, PrivFrom,
PrivTo, PrivTo,
jlib:iq_to_xml(PrivPushIQ)), jlib:iq_to_xml(PrivPushIQ)),
send_element(StateData, PrivPushEl),
StateData2 = send_or_enqueue_packet( StateData2 = send_or_enqueue_packet(
StateData, PrivFrom, PrivTo, PrivPushEl), StateData, PrivFrom, PrivTo, PrivPushEl),
fsm_next_state(StateName, fsm_next_state(StateName,