reset allow_notification when we go offline
This commit is contained in:
		
							parent
							
								
									c9b791e5a2
								
							
						
					
					
						commit
						44bf5e7422
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -182,6 +182,8 @@ class Interface:
 | 
			
		|||
		#('STATUS', account, status)
 | 
			
		||||
		if status != 'offline':
 | 
			
		||||
			gobject.timeout_add(30000, self.allow_notif, account)
 | 
			
		||||
		else:
 | 
			
		||||
			self.allow_notifications[account] = False
 | 
			
		||||
		self.roster.on_status_changed(account, status)
 | 
			
		||||
	
 | 
			
		||||
	def handle_event_notify(self, account, array):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue