Handle jingle-incoming events in roster too

This commit is contained in:
Thibaut GIRKA 2009-12-19 22:17:56 +01:00
parent d7cefc1e43
commit a4c122e74a
1 changed files with 5 additions and 0 deletions

View File

@ -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
################################################################################