processone/ejabberd — pull request #226 by weiss (2014-05-27 19:24:11+00:00)
Title: XEP-0198: Cosmetic change: Simplify state change

When the FSM goes into the `wait_for_resume` state, let `fsm_next_state/2` take care of updating `#state.mgmt_state` and of writing the log line. This doesn't change the behavior, but makes the code more readable.