[Pidgin] #5215: XMPP: use feature discovery before using features
Pidgin
trac at pidgin.im
Fri Mar 14 12:34:05 EDT 2008
#5215: XMPP: use feature discovery before using features
-------------------+--------------------------------------------------------
Reporter: urkle | Owner: nwalp
Type: defect | Status: new
Priority: minor | Component: XMPP
Version: 2.4.0 | Keywords:
Pending: 0 |
-------------------+--------------------------------------------------------
a request to the server retrieving what features it supports should be
made and obeyed. Example.
<iq type='get' from='user at server.com' to='server.com' id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
which has a response of
<iq to='user at server.com/Pidgin' from='server.com' type='result'
id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity category='server' type='im' name='myserver'/>
<feature var='http://jabber.org/protocol/disco#info'/>
<feature var='jabber:iq:time'/>
<feature var='urn:xmpp:time'/>
<feature var='vcard-temp'/>
</query>
</iq>
Now if the server does not export the <feature var='urn:xmpp:ping'/> then
the client SHOULD NOT send xmpp ping requests (XEP 0199).
--
Ticket URL: <http://developer.pidgin.im/ticket/5215>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list