From 2d1828513faa1a7e7c0abf98cbcc2db14f2b4bf6 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 13 Apr 2022 11:14:41 +0200 Subject: [PATCH] Fixed destination type reference --- LXMF/LXMF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LXMF/LXMF.py b/LXMF/LXMF.py index b47195e..c547ff8 100644 --- a/LXMF/LXMF.py +++ b/LXMF/LXMF.py @@ -308,7 +308,7 @@ class LXMessage: if self.__destination.type == RNS.Destination.SINGLE: self.transport_encrypted = True self.transport_encryption = LXMessage.ENCRYPTION_DESCRIPTION_EC - elif destination_type == RNS.Destination.GROUP: + elif self.__destination.type == RNS.Destination.GROUP: self.transport_encrypted = True self.transport_encryption = LXMessage.ENCRYPTION_DESCRIPTION_AES else: