From d121881b3afd9a746a6497928341f549072ad667 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 5 Apr 2015 21:49:39 +0200 Subject: [PATCH] bind session to a resource when negociating e2e encryption. Fixes #7993 --- src/chat_control.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chat_control.py b/src/chat_control.py index 0d5dd4194..179971467 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -3234,6 +3234,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):