XMPP: Composing events and <id/> tags

Evan Schoenberg evan.s at dreskin.net
Thu Apr 19 10:44:51 EDT 2007


XEP-0022 (message events) [1] says that the event MUST have an <id/>  
tag, and that if there's no id for the associated message it should  
be included but have no CDATA.

We don't do ids for typing events; this makes some clients (e.g.  
Pandion) treat it as a composing event request and not display the  
relevant information.

Would setting jm->id to "" when creating the JabberMessage in  
jabber_send_typing() be an appropriate solution?

Cheers,
Evan

[1] http://www.xmpp.org/extensions/xep-0022.html#sect-id2251213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070419/7ec42556/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://pidgin.im/pipermail/devel/attachments/20070419/7ec42556/attachment.sig>


More information about the Devel mailing list