diff options
author | James Booth <boothj5@gmail.com> | 2012-12-19 23:40:21 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-12-19 23:40:21 +0000 |
commit | bcf0628a0f67bf1316e9d21eb411c00e5a18f1e2 (patch) | |
tree | b8552f79fa5df5761da0834602cf0f9b627a139a | |
parent | d669866aacfdb90baf41b7892e400847b8ca24f8 (diff) | |
download | profani-tty-bcf0628a0f67bf1316e9d21eb411c00e5a18f1e2.tar.gz |
Only set state to </paused> when was previously </composing>
-rw-r--r-- | src/chat_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |