Skip to content
Snippets Groups Projects
Commit 3ec61df4 authored by Brendan Taylor's avatar Brendan Taylor
Browse files

minor fixes for ctrl.set_session

parent ce091032
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,8 @@ class MessageControl:
new_key = session.thread_id
if oldsession:
oldsession.control = None
jid = self.contact.jid
if self.resource:
jid += '/' + self.resource
......@@ -143,7 +145,7 @@ class MessageControl:
if oldsession.enable_encryption:
self.print_esession_details()
else:
elif session:
self.parent_win.move_from_sessionless(self)
def send_message(self, message, keyID = '', type = 'chat',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment