bind session to a resource when negociating e2e encryption. Fixes #7993
This commit is contained in:
parent
c4e1f2389a
commit
d121881b3a
|
@ -3234,6 +3234,7 @@ class ChatControl(ChatControlBase):
|
||||||
|
|
||||||
def begin_e2e_negotiation(self):
|
def begin_e2e_negotiation(self):
|
||||||
self.begin_negotiation()
|
self.begin_negotiation()
|
||||||
|
self.session.resource = self.contact.resource
|
||||||
self.session.negotiate_e2e(False)
|
self.session.negotiate_e2e(False)
|
||||||
|
|
||||||
def begin_archiving_negotiation(self):
|
def begin_archiving_negotiation(self):
|
||||||
|
|
Loading…
Reference in New Issue