Only set state to </paused> when was previously </composing>

This commit is contained in:
James Booth
2012-12-19 23:40:21 +00:00
parent d669866aac
commit bcf0628a0f

View File

@@ -129,12 +129,12 @@ chat_session_no_activity(const char * const recipient)
if (session->state == CHAT_STATE_COMPOSING) { if (session->state == CHAT_STATE_COMPOSING) {
session->sent = FALSE; session->sent = FALSE;
}
session->state = CHAT_STATE_PAUSED; session->state = CHAT_STATE_PAUSED;
} }
} }
} }
} }
}
void void
chat_session_set_sent(const char * const recipient) chat_session_set_sent(const char * const recipient)