mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-03 14:45:16 +02:00
ApplePush : previous merge missed timeout handler in c2s.
This commit is contained in:
parent
2624f3ba51
commit
40625b29f2
@ -1192,6 +1192,12 @@ handle_event({del_rosteritem, IJID}, StateName, StateData) ->
|
||||
NewStateData = roster_change(IJID, none, StateData),
|
||||
fsm_next_state(StateName, NewStateData);
|
||||
|
||||
handle_event({xmlstreamcdata, _}, StateName, StateData) ->
|
||||
?DEBUG("cdata ping", []),
|
||||
NSD1 = change_reception(StateData, true),
|
||||
NSD2 = start_keepalive_timer(NSD1),
|
||||
fsm_next_state(StateName, NSD2);
|
||||
|
||||
handle_event(_Event, StateName, StateData) ->
|
||||
fsm_next_state(StateName, StateData).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user