From 095641fe083bb40a1f510a36604aa27e23fa2224 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 6 May 2022 18:28:03 -0400 Subject: [PATCH] Fix forced login --- matrix_appservice_kakaotalk/commands/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_appservice_kakaotalk/commands/auth.py b/matrix_appservice_kakaotalk/commands/auth.py index 2e73f10..46bd005 100644 --- a/matrix_appservice_kakaotalk/commands/auth.py +++ b/matrix_appservice_kakaotalk/commands/auth.py @@ -235,7 +235,7 @@ async def _force_login(evt: CommandEvent) -> None: ) return assert evt.sender.command_status - evt.sender.command_status["forced"] = True + evt.sender.command_status["req"]["forced"] = True await evt.mark_read() await _try_login(evt, evt.sender.command_status.pop("req"))