Handle jingle-incoming events in roster too
This commit is contained in:
parent
d7cefc1e43
commit
a4c122e74a
|
@ -1844,6 +1844,11 @@ class RosterWindow:
|
||||||
gajim.interface.show_unsubscribed_dialog(account, data)
|
gajim.interface.show_unsubscribed_dialog(account, data)
|
||||||
gajim.events.remove_events(account, jid, event)
|
gajim.events.remove_events(account, jid, event)
|
||||||
return True
|
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
|
return False
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in New Issue