Mercurial > hg
changeset 1730:860b58a0e8da
Update XEP-0184 support
The spec now says: "If receipts are desired, a sender SHOULD include a request
for message receipts on all messages, no matter whether sending to the bare JID
<localpart@domain.tld> of the recipient or the full JID
<localpart@domain.tld/resource>."
MCabber now sends message receipt requests to bare JIDs.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 28 Feb 2010 17:02:26 +0100 |
parents | e6e89b1d7831 |
children | 4fbfae993c24 |
files | mcabber/mcabber/xmpp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c Sun Feb 28 15:19:27 2010 +0100 +++ b/mcabber/mcabber/xmpp.c Sun Feb 28 17:02:26 2010 +0100 @@ -423,7 +423,7 @@ } // XEP-0184: Message Receipts - if (sl_buddy && rname && xep184 && + if (sl_buddy && xep184 && caps_has_feature(buddy_resource_getcaps(sl_buddy->data, rname), NS_RECEIPTS)) { lm_message_node_set_attribute