mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-04 15:36:57 +01: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),
|
NewStateData = roster_change(IJID, none, StateData),
|
||||||
fsm_next_state(StateName, NewStateData);
|
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) ->
|
handle_event(_Event, StateName, StateData) ->
|
||||||
fsm_next_state(StateName, StateData).
|
fsm_next_state(StateName, StateData).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user