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

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