mirror of
https://github.com/markqvist/LXMF.git
synced 2025-08-02 11:56:04 -04:00
Updated logging
This commit is contained in:
parent
886ac69a82
commit
e0e901291e
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ class LXMessage:
|
||||||
if self.desired_method == LXMessage.OPPORTUNISTIC:
|
if self.desired_method == LXMessage.OPPORTUNISTIC:
|
||||||
if self.__destination.type == RNS.Destination.SINGLE:
|
if self.__destination.type == RNS.Destination.SINGLE:
|
||||||
if content_size > LXMessage.ENCRYPTED_PACKET_MAX_CONTENT:
|
if content_size > LXMessage.ENCRYPTED_PACKET_MAX_CONTENT:
|
||||||
RNS.log(f"Opportunistic delivery was requested for {self}, but content exceeds packet size limit. Falling back to link-based delivery.", RNS.LOG_DEBUG)
|
RNS.log(f"Opportunistic delivery was requested for {self}, but content of length {content_size} exceeds packet size limit. Falling back to link-based delivery.", RNS.LOG_DEBUG)
|
||||||
self.desired_method = LXMessage.DIRECT
|
self.desired_method = LXMessage.DIRECT
|
||||||
|
|
||||||
# Set delivery parameters according to delivery method
|
# Set delivery parameters according to delivery method
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue