[Pidgin] #12926: prpl-jabber assumes <session xmlns='...xmpp-session'/> stream feature is supported
Pidgin
trac at pidgin.im
Fri Nov 19 09:34:14 EST 2010
#12926: prpl-jabber assumes <session xmlns='...xmpp-session'/> stream feature is
supported
--------------------+-------------------------------------------------------
Reporter: wjt | Owner: deryni
Type: defect | Status: new
Component: XMPP | Version: 2.7.5
Keywords: |
--------------------+-------------------------------------------------------
prpl-jabber doesn't pay any attention to whether <stream:features>
contains <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>, but just
always sends a session establishment IQ (if resource binding succeeds). My
reading of http://xmpp.org/rfcs/rfc3921.html#session is that it's
optional, so jabber_stream_features_parse() should check for this feature,
stash whether it's supported in the JabberStream, and consult the stashed
value in jabber_bind_result_cb() rather than always calling
jabber_session_init(js).
(Sorry, don't have time to actually implement and test this right now. :))
--
Ticket URL: <http://developer.pidgin.im/ticket/12926>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list