Fixed delivery method default. Thanks Stephan ;)

This commit is contained in:
Mark Qvist 2022-04-13 11:10:21 +02:00
parent 853e70dcbe
commit 505176b6ee

View File

@ -228,7 +228,7 @@ class LXMessage:
# If no desired delivery method has been defined,
# one will be chosen according to these rules:
if self.desired_method == None:
self.desired_method == LXMessage.DIRECT
self.desired_method = LXMessage.DIRECT
# TODO: Expand rules to something more intelligent
if self.desired_method == LXMessage.OPPORTUNISTIC: