about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-28 22:40:59 +0000
committerJames Booth <boothj5@gmail.com>2014-12-28 22:45:25 +0000
commitac4b59eda08c66d037c794022fff7e3231768c72 (patch)
tree3a969a04d905cc17ed4937b65452ad85a6661200 /src/xmpp
parent53ecd3b383a01ddb71b6d7fe2320158510582e43 (diff)
downloadprofani-tty-ac4b59eda08c66d037c794022fff7e3231768c72.tar.gz
Fixed chat state for non OTR
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index d2748a13..2cf7c4d3 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -460,7 +460,7 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
 
         // create or update chat session
         if (!chat_session_exists(jid->barejid)) {
-            chat_session_start(jid->barejid, recipient_supports);
+            chat_session_new(jid->barejid, recipient_supports);
         } else {
             chat_session_set_recipient_supports(jid->barejid, recipient_supports);
         }