mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
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(..).
This commit is contained in:
parent
83ed9ba24b
commit
d5aae08c41
@ -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);
|
xmpp_stanza_t *receipts = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_RECEIPTS);
|
||||||
if (receipts) {
|
if (receipts) {
|
||||||
_handle_receipt_received(stanza);
|
_handle_receipt_received(stanza);
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// XEP-0060: Publish-Subscribe
|
// XEP-0060: Publish-Subscribe
|
||||||
|
Loading…
Reference in New Issue
Block a user