mirror of
https://github.com/markqvist/LXMF.git
synced 2025-01-15 17:07:14 -05:00
Updated according to RNS API.
This commit is contained in:
parent
3b0c2cac22
commit
4d3e529e63
@ -273,10 +273,6 @@ class LXMessage:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def determine_transport_encryption(self):
|
def determine_transport_encryption(self):
|
||||||
if RNS.Reticulum.should_allow_unencrypted():
|
|
||||||
self.transport_encrypted = False
|
|
||||||
self.transport_encryption = LXMessage.ENCRYPTION_DESCRIPTION_UNENCRYPTED
|
|
||||||
else:
|
|
||||||
if self.method == LXMessage.OPPORTUNISTIC:
|
if self.method == LXMessage.OPPORTUNISTIC:
|
||||||
if self.destination.type == RNS.Destination.SINGLE:
|
if self.destination.type == RNS.Destination.SINGLE:
|
||||||
self.transport_encrypted = True
|
self.transport_encrypted = True
|
||||||
|
Loading…
Reference in New Issue
Block a user