handle correctly click on sign in/out notif windows. For #2414
This commit is contained in:
		
							parent
							
								
									2a73ecc994
								
							
						
					
					
						commit
						bcdd4d2315
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1735,7 +1735,8 @@ class Interface:
 | 
			
		|||
		jid = gajim.get_jid_without_resource(jid)
 | 
			
		||||
		if type_ in ('printed_gc_msg', 'gc_msg'):
 | 
			
		||||
			w = self.msg_win_mgr.get_window(jid, account)
 | 
			
		||||
		elif type_ in ('printed_chat', 'chat'):
 | 
			
		||||
		elif type_ in ('printed_chat', 'chat', ''):
 | 
			
		||||
			# '' is for log in/out notifications
 | 
			
		||||
			if self.msg_win_mgr.has_window(fjid, account):
 | 
			
		||||
				w = self.msg_win_mgr.get_window(fjid, account)
 | 
			
		||||
			elif self.msg_win_mgr.has_window(jid, account):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue