[mibus@mibus.org] remote control to take count
of "sync with global status" pref
This commit is contained in:
		
							parent
							
								
									97420e6a7a
								
							
						
					
					
						commit
						08506dedf7
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -346,6 +346,8 @@ class SignalObject(DbusPrototype):
 | 
			
		|||
		else:
 | 
			
		||||
			# account not specified, so change the status of all accounts
 | 
			
		||||
			for acc in gajim.contacts.get_accounts():
 | 
			
		||||
				if not gajim.config.get_per('accounts', acc, 'sync_with_global_status'):
 | 
			
		||||
					continue
 | 
			
		||||
				gobject.idle_add(gajim.interface.roster.send_status, acc, 
 | 
			
		||||
					status, message)
 | 
			
		||||
		return None
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue