Merge pull request #37 from samm-git/patch-1

Fix function name for getting contact from args
This commit is contained in:
fdlamotte 2026-01-14 14:17:46 -04:00 committed by GitHub
commit 92af5f7479
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"}))