diff options
author | William Wennerström <william@wstrm.dev> | 2020-07-02 20:47:00 +0200 |
---|---|---|
committer | William Wennerström <william@wstrm.dev> | 2020-07-02 20:50:26 +0200 |
commit | d5aae08c41164730174a3eb9fb215773e0f56b99 (patch) | |
tree | 3dfbb5cca71a1acaa1ebcf3bed31857b17246b99 /src | |
parent | 83ed9ba24b85bd47ef3b2e90d4634a19b258d3a0 (diff) | |
download | profani-tty-d5aae08c41164730174a3eb9fb215773e0f56b99.tar.gz |
Fix messages with receipt request not displayed
Messages from Conversations contains: <request xmlns='urn:xmpp:receipts'/> And would not be displayed in Profanity as it never reached _handle_chat(..).
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/message.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c index 4419f4ba..cc9edaa7 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -160,7 +160,6 @@ _message_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *con xmpp_stanza_t *receipts = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_RECEIPTS); if (receipts) { _handle_receipt_received(stanza); - return 1; } // XEP-0060: Publish-Subscribe |