Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Nov 2, 2023
1 parent 10be138 commit 2812a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LXMF/LXMRouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ def process_outbound(self, sender = None):
else:
RNS.log("Starting outbound processing for "+str(lxmessage)+" to "+RNS.prettyhexrep(lxmessage.get_destination().hash), RNS.LOG_DEBUG)
# Outbound handling for opportunistic messages
if lxmessage.method == LXMessage.OPPORTUNISTIC:
if lxmessage.method == LXMessage.OPPORTUNISTIC:
if lxmessage.delivery_attempts <= LXMRouter.MAX_DELIVERY_ATTEMPTS:
if not hasattr(lxmessage, "next_delivery_attempt") or time.time() > lxmessage.next_delivery_attempt:
lxmessage.delivery_attempts += 1
Expand Down

0 comments on commit 2812a07

Please sign in to comment.