24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-07-02 23:06:21 +02:00

ApplePush : previous merge missed timeout handler in c2s.

This commit is contained in:
Eric Cestari 2010-09-16 14:37:27 +02:00
parent 2624f3ba51
commit 40625b29f2

View File

@ -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).