don't show empty RIE requests. Fixes #5299
This commit is contained in:
		
							parent
							
								
									da398aa418
								
							
						
					
					
						commit
						887b8d31b2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1861,8 +1861,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
 | 
			
		|||
			exchange_items_list[jid] = []
 | 
			
		||||
			exchange_items_list[jid].append(name)
 | 
			
		||||
			exchange_items_list[jid].append(groups)
 | 
			
		||||
		self.dispatch('ROSTERX', (action, exchange_items_list, jid_from))
 | 
			
		||||
 | 
			
		||||
		if exchange_items_list:
 | 
			
		||||
			self.dispatch('ROSTERX', (action, exchange_items_list, jid_from))
 | 
			
		||||
 | 
			
		||||
	def _messageCB(self, con, msg):
 | 
			
		||||
		'''Called when we receive a message'''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue