Commit 52ca6125 authored by Tijmen de Mes's avatar Tijmen de Mes

Fixed stating message session for contact with multiple uris

parent c533ef79
...@@ -3538,7 +3538,7 @@ class ContactListView(QListView): ...@@ -3538,7 +3538,7 @@ class ContactListView(QListView):
def _AH_SendSMS(self, uri=None): def _AH_SendSMS(self, uri=None):
contact = self.selectionModel().selectedIndexes()[0].data(Qt.UserRole) contact = self.selectionModel().selectedIndexes()[0].data(Qt.UserRole)
session_manager = MessageManager() session_manager = MessageManager()
session_manager.create_message_session(uri or contact.uri.uri) session_manager.create_message_session(uri.uri or str(contact.uri.uri))
def _AH_SendFiles(self, uri=None): def _AH_SendFiles(self, uri=None):
session_manager = SessionManager() session_manager = SessionManager()
......
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