mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 07:26:22 +00:00
Fixed invalid state transition from <active/> to <paused/>
This commit is contained in:
@@ -1015,7 +1015,7 @@ _cmd_close(const char * const inp, struct cmd_help_t help)
|
||||
|
||||
// send <gone/> chat state before closing
|
||||
if (chat_session_get_recipient_supports(recipient)) {
|
||||
chat_session_gone(recipient);
|
||||
chat_session_set_gone(recipient);
|
||||
jabber_send_gone(recipient);
|
||||
chat_session_end(recipient);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user