mirror of
https://github.com/markqvist/LXMF.git
synced 2025-07-31 02:48:45 -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.__destination.type == RNS.Destination.SINGLE:
|
||||
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
|
||||
|
||||
# Set delivery parameters according to delivery method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue