From 67003078464cb11d5f8fe4529ce3bb8f71e560a7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 19 Oct 2010 10:47:43 +0200 Subject: [PATCH] fix receiving encrypted messages. fixes #5982 --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 325745ab1..d9b41dc87 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1412,7 +1412,7 @@ ConnectionJingle, ConnectionIBBytestream): return if obj.encrypted == 'xep200': try: - obj.stanza = self.session.decrypt_stanza(obj.stanza) + obj.stanza = obj.session.decrypt_stanza(obj.stanza) obj.msgtxt = obj.stanza.getBody() except Exception: self.dispatch('FAILED_DECRYPT', (obj.fjid, obj.timestamp,