From b6f15934f2e577541d20261dfc0ed405819b621e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 30 Aug 2018 13:32:04 +0300 Subject: [PATCH] Fix conversational command handling --- mautrix_telegram/commands/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mautrix_telegram/commands/handler.py b/mautrix_telegram/commands/handler.py index 2f0f7750..1f0479ec 100644 --- a/mautrix_telegram/commands/handler.py +++ b/mautrix_telegram/commands/handler.py @@ -165,7 +165,7 @@ class CommandProcessor: if sender.command_status and "next" in sender.command_status: args.insert(0, orig_command) evt.command = "" - command = sender.command_status["next"] + command_handler = sender.command_status["next"] else: command_handler = command_handlers["unknown-command"] try: