Handle jingle-incoming events in roster too
This commit is contained in:
		
							parent
							
								
									d7cefc1e43
								
							
						
					
					
						commit
						a4c122e74a
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1844,6 +1844,11 @@ class RosterWindow:
 | 
			
		|||
			gajim.interface.show_unsubscribed_dialog(account, data)
 | 
			
		||||
			gajim.events.remove_events(account, jid, event)
 | 
			
		||||
			return True
 | 
			
		||||
		elif event.type_ == 'jingle-incoming':
 | 
			
		||||
			peerjid, sid, content_types = data
 | 
			
		||||
			dialogs.VoIPCallReceivedDialog(account, peerjid, sid, content_types)
 | 
			
		||||
			gajim.events.remove_events(account, jid, event)
 | 
			
		||||
			return True
 | 
			
		||||
		return False
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue