Fix function name for getting contact from args

This is required to make `contact_timeout` command working
This commit is contained in:
Alex Samorukov 2026-01-14 19:08:17 +01:00 committed by GitHub
parent e34d826391
commit 77502789bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2696,7 +2696,7 @@ async def next_cmd(mc, cmds, json_output=False):
case "contact_timeout" :
argnum = 2
contact = await get_contact_from_args(mc, cmds[1])
contact = await get_contact_from_arg(mc, cmds[1])
if contact is None:
if json_output :
print(json.dumps({"error" : "unknown contact"}))