about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-14 23:25:20 +0000
committerJames Booth <boothj5@gmail.com>2015-03-14 23:25:20 +0000
commit125719673b009b32ab0bc7223489589a44939d32 (patch)
treea9f33960d0d466ec8b975a5f7700918f1142e941 /src/xmpp
parentca30ff3910e27d35de8ebf9f909a38b022a16343 (diff)
downloadprofani-tty-125719673b009b32ab0bc7223489589a44939d32.tar.gz
Return after message receipt
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 5663dbfc..7986c668 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -516,8 +516,8 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
                     Jid *jidp = jid_create(fulljid);
                     handle_message_receipt(jidp->barejid, id);
                     jid_destroy(jidp);
+                    return 1;
                 }
-
             }
         }
     }