From ab869083b38af9d4c2f3a24f641be19b72e926aa Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 11 Feb 2021 00:42:51 -0500 Subject: [PATCH] Don't sync after login (yet) --- mautrix_line/commands/auth.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mautrix_line/commands/auth.py b/mautrix_line/commands/auth.py index 2509206..28ea2a0 100644 --- a/mautrix_line/commands/auth.py +++ b/mautrix_line/commands/auth.py @@ -90,8 +90,10 @@ async def login_do(evt: CommandEvent, gen: AsyncGenerator[Tuple[str, str], None] # else: pass if not failure and evt.sender.command_status: - await evt.reply("Successfully logged in, now syncing") - await evt.sender.sync() + await evt.reply("Successfully logged in, now go home") + # TODO + #await evt.reply("Successfully logged in, now syncing") + #await evt.sender.sync() # else command was cancelled or failed. Don't post message about it, "cancel" command or failure did already evt.sender.command_status = None