Support for disco nodes in DJabberd::Agent

Pedro Melo melo at simplicidade.org
Fri Feb 2 16:39:38 UTC 2007


Hi,

the handle_iq_disco_info and handle_iq_disco_items didn't support  
disco nodes. Patch attached.

Also, I've tweaked the reply of those two methods in case they don't  
have a payload. A good XML parser should be able to deal correctly  
with the previous version, but we never know, and this way it matches  
the spec of XEP-0030.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: djabberd_disco_nodes.diff
Type: application/octet-stream
Size: 2582 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20070202/a66bd31b/djabberd_disco_nodes.obj
-------------- next part --------------

Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo at simplicidade.org
Use Jabber!




More information about the Djabberd mailing list