From 1dd3c0388571c127445ed01c423333b209d2eb79 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 5 Sep 2025 23:36:54 +0200 Subject: [PATCH] change send function --- src/meshcore_cli/meshcore_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index 71c2800..f48732b 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -861,7 +861,7 @@ async def send_msg (mc, contact, msg) : return res async def msg_ack (mc, contact, msg) : - res = await mc.commands.send_msg_reliable(contact, msg, + res = await mc.commands.send_msg_with_retry(contact, msg, max_attempts=msg_ack.max_attempts, flood_after=msg_ack.flood_after) if not res is None and not res.type == EventType.ERROR: