Commit 67a6894b authored by Tijmen de Mes's avatar Tijmen de Mes

Don't add chat when connecting with audio/video from chat window

parent 717a345c
...@@ -2738,13 +2738,13 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin): ...@@ -2738,13 +2738,13 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
blink_session.connect() blink_session.connect()
def _AH_ConnectWithAudio(self): def _AH_ConnectWithAudio(self):
stream_descriptions = [StreamDescription('audio'), StreamDescription('chat')] stream_descriptions = [StreamDescription('audio')]
blink_session = self.selected_session.blink_session blink_session = self.selected_session.blink_session
blink_session.init_outgoing(blink_session.account, blink_session.contact, blink_session.contact_uri, stream_descriptions=stream_descriptions, reinitialize=True) blink_session.init_outgoing(blink_session.account, blink_session.contact, blink_session.contact_uri, stream_descriptions=stream_descriptions, reinitialize=True)
blink_session.connect() blink_session.connect()
def _AH_ConnectWithVideo(self): def _AH_ConnectWithVideo(self):
stream_descriptions = [StreamDescription('audio'), StreamDescription('video'), StreamDescription('chat')] stream_descriptions = [StreamDescription('audio'), StreamDescription('video')]
blink_session = self.selected_session.blink_session blink_session = self.selected_session.blink_session
blink_session.init_outgoing(blink_session.account, blink_session.contact, blink_session.contact_uri, stream_descriptions=stream_descriptions, reinitialize=True) blink_session.init_outgoing(blink_session.account, blink_session.contact, blink_session.contact_uri, stream_descriptions=stream_descriptions, reinitialize=True)
blink_session.connect() blink_session.connect()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment