open chat control with correct resource when we receive a voice call.

This commit is contained in:
Yann Leboulanger 2010-01-13 12:25:44 +01:00
parent a1c8ec3ebd
commit a393b36a3f
1 changed files with 1 additions and 1 deletions

View File

@ -4791,7 +4791,7 @@ class VoIPCallReceivedDialog(object):
contact = gajim.contacts.get_contact(self.account, jid)
if not contact:
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
if session.get_content('audio'):
ctrl.set_audio_state('connecting', self.sid)