default browser is ToplevelAgentBrowser instead of AgentBrowser. It is more general.
This commit is contained in:
		
							parent
							
								
									e95adc60de
								
							
						
					
					
						commit
						f6697682c1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -311,7 +311,7 @@ class ServicesCache:
 | 
				
			||||||
		# Allow browsing for unknown types aswell.
 | 
							# Allow browsing for unknown types aswell.
 | 
				
			||||||
		if (not features and not identities) or \
 | 
							if (not features and not identities) or \
 | 
				
			||||||
		xmpp.NS_DISCO_ITEMS in features or xmpp.NS_BROWSE in features:
 | 
							xmpp.NS_DISCO_ITEMS in features or xmpp.NS_BROWSE in features:
 | 
				
			||||||
			return AgentBrowser
 | 
								return ToplevelAgentBrowser
 | 
				
			||||||
		return None
 | 
							return None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def get_info(self, jid, node, cb, force = False, nofetch = False, args = ()):
 | 
						def get_info(self, jid, node, cb, force = False, nofetch = False, args = ()):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue