[Jim] don't ask status message when going invisible
This commit is contained in:
		
							parent
							
								
									e7d7200e04
								
							
						
					
					
						commit
						4b42e0fa01
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1505,7 +1505,8 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
 | 
			
		|||
 | 
			
		||||
	def get_status_message(self, show):
 | 
			
		||||
		if (show == 'online' and not gajim.config.get('ask_online_status')) or \
 | 
			
		||||
			(show == 'offline' and not gajim.config.get('ask_offline_status')):
 | 
			
		||||
			(show == 'offline' and not gajim.config.get('ask_offline_status')) or \
 | 
			
		||||
			show == 'invisible':
 | 
			
		||||
			return ''
 | 
			
		||||
		dlg = dialogs.ChangeStatusMessageDialog(show)
 | 
			
		||||
		message = dlg.run()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue