summaryrefslogtreecommitdiff
path: root/tests/twisted/ns.py
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-11-19 14:08:24 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2010-11-19 15:29:01 +0000
commitdc9132c4eb337e26fcae739e5e7481a81fde0b23 (patch)
tree6fd94bfc16a78efa2c90989a84e7fb6742a0ec3f /tests/twisted/ns.py
parent1d1ae4468729653d6310987e6c5c16870cedaa05 (diff)
tests: Support session establishment.
XMPP IM defines a "session establishment" stream feature: <http://xmpp.org/rfcs/rfc3921.html#session>. This is optional, and Wocky deals correctly with it being unsupported, but prpl-jabber assumes it's supported and just blindly sends it. We should send *a* reply to the IQ, whether success or an error, per XMPP Core; we may as well implement it properly. (I'm filing a bug against prpl-jabber just as soon as I recover my Pidgin Trac account, but still.)
Diffstat (limited to 'tests/twisted/ns.py')
-rw-r--r--tests/twisted/ns.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/twisted/ns.py b/tests/twisted/ns.py
index a483b275b..758d00bdf 100644
--- a/tests/twisted/ns.py
+++ b/tests/twisted/ns.py
@@ -40,6 +40,7 @@ NICK = "http://jabber.org/protocol/nick"
NS_XMPP_SASL = 'urn:ietf:params:xml:ns:xmpp-sasl'
NS_XMPP_BIND = 'urn:ietf:params:xml:ns:xmpp-bind'
NS_XMPP_TLS = 'urn:ietf:params:xml:ns:xmpp-tls'
+NS_XMPP_SESSION = 'urn:ietf:params:xml:ns:xmpp-session'
OLPC_ACTIVITIES = "http://laptop.org/xmpp/activities"
OLPC_ACTIVITIES_NOTIFY = "%s+notify" % OLPC_ACTIVITIES
OLPC_ACTIVITY = "http://laptop.org/xmpp/activity"