mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
XEP-0198: Cosmetic change: Omit redundant guard
The stream management state is never 'pending' when the c2s FSM is in the 'session_established' state.
This commit is contained in:
parent
6baf3a24de
commit
737b0ae5dc
@ -1170,8 +1170,7 @@ session_established({xmlstreamerror, _}, StateData) ->
|
||||
{stop, normal, StateData};
|
||||
session_established(closed, StateData)
|
||||
when StateData#state.mgmt_timeout > 0,
|
||||
StateData#state.mgmt_state == active orelse
|
||||
StateData#state.mgmt_state == pending ->
|
||||
StateData#state.mgmt_state == active ->
|
||||
log_pending_state(StateData),
|
||||
fsm_next_state(wait_for_resume, StateData#state{mgmt_state = pending});
|
||||
session_established(closed, StateData) ->
|
||||
|
Loading…
Reference in New Issue
Block a user