Commit a8301531 authored by Yann Leboulanger's avatar Yann Leboulanger

bind session to a resource when negociating e2e encryption. Fixes #7993

parent 604e5cc9
......@@ -3231,6 +3231,7 @@ class ChatControl(ChatControlBase):
def begin_e2e_negotiation(self):
self.begin_negotiation()
self.session.resource = self.contact.resource
self.session.negotiate_e2e(False)
def begin_archiving_negotiation(self):
......
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