Commit c41d0f79 authored by Tijmen de Mes's avatar Tijmen de Mes

Changed chat button to start message 'session'

parent 27d17a20
...@@ -572,7 +572,7 @@ class MainWindow(base_class, ui_class): ...@@ -572,7 +572,7 @@ class MainWindow(base_class, ui_class):
else: else:
contact, contact_uri = URIUtils.find_contact(self.search_box.text()) contact, contact_uri = URIUtils.find_contact(self.search_box.text())
session_manager = SessionManager() session_manager = SessionManager()
session_manager.create_session(contact, contact_uri, [StreamDescription('chat')], connect=False) session_manager.create_session(contact, contact_uri, [StreamDescription('message')], connect=False)
def _AH_RequestScreenActionTriggered(self): def _AH_RequestScreenActionTriggered(self):
list_view = self.contact_list if self.contacts_view.currentWidget() is self.contact_list_panel else self.search_list list_view = self.contact_list if self.contacts_view.currentWidget() is self.contact_list_panel else self.search_list
......
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