open chat control with correct resource when we receive a voice call.
This commit is contained in:
parent
a1c8ec3ebd
commit
a393b36a3f
|
@ -4791,7 +4791,7 @@ class VoIPCallReceivedDialog(object):
|
||||||
contact = gajim.contacts.get_contact(self.account, jid)
|
contact = gajim.contacts.get_contact(self.account, jid)
|
||||||
if not contact:
|
if not contact:
|
||||||
return
|
return
|
||||||
ctrl = gajim.interface.new_chat(contact, self.account)
|
ctrl = gajim.interface.new_chat(contact, self.account, resource)
|
||||||
# Chat control opened, update content's status
|
# Chat control opened, update content's status
|
||||||
if session.get_content('audio'):
|
if session.get_content('audio'):
|
||||||
ctrl.set_audio_state('connecting', self.sid)
|
ctrl.set_audio_state('connecting', self.sid)
|
||||||
|
|
Loading…
Reference in New Issue