XEP-0116 support discovery
This commit is contained in:
		
							parent
							
								
									c24041a0df
								
							
						
					
					
						commit
						814c9c118a
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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 = {}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -48,9 +48,10 @@ 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'  
 | 
			
		||||
NS_FEATURE      ='http://jabber.org/protocol/feature-neg'
 | 
			
		||||
NS_FILE         ='http://jabber.org/protocol/si/profile/file-transfer'  # JEP-0096
 | 
			
		||||
NS_GAMING       ='http://jabber.org/protocol/gaming'                    # XEP-0196
 | 
			
		||||
NS_GEOLOC       ='http://jabber.org/protocol/geoloc'                    # JEP-0080
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue