Enabled Reticulum Ratchets for LXMF

This commit is contained in:
Mark Qvist 2024-09-04 18:57:51 +02:00
commit e0f763caee
4 changed files with 57 additions and 3 deletions

View file

@ -351,6 +351,7 @@ class LXMessage:
def determine_transport_encryption(self):
# TODO: Update transport encryption descriptions to account for ratchets
if self.method == LXMessage.OPPORTUNISTIC:
if self.__destination.type == RNS.Destination.SINGLE:
self.transport_encrypted = True