1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00: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:
William Wennerström 2020-07-02 20:47:00 +02:00
parent 83ed9ba24b
commit d5aae08c41
No known key found for this signature in database
GPG Key ID: E1382990BEDD319B

View File

@ -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