From bcf0628a0f67bf1316e9d21eb411c00e5a18f1e2 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 19 Dec 2012 23:40:21 +0000 Subject: [PATCH] Only set state to when was previously --- src/chat_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat_session.c b/src/chat_session.c index 0b65c237..3cd50404 100644 --- a/src/chat_session.c +++ b/src/chat_session.c @@ -129,8 +129,8 @@ chat_session_no_activity(const char * const recipient) if (session->state == CHAT_STATE_COMPOSING) { session->sent = FALSE; + session->state = CHAT_STATE_PAUSED; } - session->state = CHAT_STATE_PAUSED; } } }