mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
change send function
This commit is contained in:
parent
cb4f5648fa
commit
1dd3c03885
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue