This commit is contained in:
Florent 2025-04-09 18:17:12 +02:00
parent 0060fd5af3
commit 4a8989a6b0
2 changed files with 6 additions and 2 deletions

View file

@ -110,6 +110,10 @@ async def next_cmd(mc, cmds):
await mc.ensure_contacts()
print(await mc.send_login(bytes.fromhex(mc.contacts[cmds[1]]["public_key"]),
cmds[2]))
case "logout" :
argnum = 1
await mc.ensure_contacts()
print(await mc.send_logout(bytes.fromhex(mc.contacts[cmds[1]]["public_key"])))
case "wait_login" | "wl" | "]]":
print(await mc.wait_login())
case "req_status" | "rs" :