fix call to correct function when inviting to room in roster
This commit is contained in:
		
							parent
							
								
									1008d162f4
								
							
						
					
					
						commit
						5b55264c92
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2103,7 +2103,7 @@ class RosterWindow:
 | 
			
		|||
				menuitem = gtk.MenuItem(room_jid.split('@')[0])
 | 
			
		||||
				if len(contact_list) > 1: # several resources
 | 
			
		||||
					menuitem.set_submenu(self.build_resources_submenu(
 | 
			
		||||
						contact_list, account, self.on_invite_to_new_room, room_jid,
 | 
			
		||||
						contact_list, account, self.on_invite_to_room, room_jid,
 | 
			
		||||
						account))
 | 
			
		||||
				else:
 | 
			
		||||
					menuitem.connect('activate', self.on_invite_to_room, list_,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue