whn we click on the systray icon: show the correct tab
This commit is contained in:
		
							parent
							
								
									935e57c18c
								
							
						
					
					
						commit
						26faed1de1
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -2804,8 +2804,10 @@ class systray: | |||
| 				account = self.jids[0][0] | ||||
| 				jid = self.jids[0][1] | ||||
| 				if self.plugin.windows[account]['gc'].has_key(jid): | ||||
| 					self.plugin.windows[account]['gc'][jid].active_tab(jid) | ||||
| 					self.plugin.windows[account]['gc'][jid].window.present() | ||||
| 				elif self.plugin.windows[account]['chats'].has_key(jid): | ||||
| 					self.plugin.windows[account]['chats'][jid].active_tab(jid) | ||||
| 					self.plugin.windows[account]['chats'][jid].window.present() | ||||
| 				else: | ||||
| 					self.plugin.roster.new_chat( | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue