XEP-0116 support discovery

This commit is contained in:
Brendan Taylor 2008-07-14 00:26:05 +00:00
parent c24041a0df
commit 814c9c118a
2 changed files with 5 additions and 1 deletions

View File

@ -176,6 +176,9 @@ gajim_common_features = [xmpp.NS_BYTESTREAM, xmpp.NS_SI,
'msglog', 'sslc2s', 'stringprep', xmpp.NS_PING,
xmpp.NS_TIME_REVISED, xmpp.NS_GAMING]
if HAVE_PYCRYPTO:
gajim_common_features.append(xmpp.NS_ESESSION)
# Optional features gajim supports per account
gajim_optional_features = {}

View File

@ -48,6 +48,7 @@ NS_DISCO ='http://jabber.org/protocol/disco'
NS_DISCO_INFO =NS_DISCO+'#info'
NS_DISCO_ITEMS =NS_DISCO+'#items'
NS_ENCRYPTED ='jabber:x:encrypted' # XEP-0027
NS_ESESSION ='http://www.xmpp.org/extensions/xep-0116.html#ns'
NS_ESESSION_INIT='http://www.xmpp.org/extensions/xep-0116.html#ns-init' # XEP-0116
NS_EVENT ='jabber:x:event' # XEP-0022
NS_FEATURE ='http://jabber.org/protocol/feature-neg'