Don't sync after login (yet)

This commit is contained in:
Andrew Ferrazzutti 2021-02-11 00:42:51 -05:00
parent 758fb216d3
commit 3a666a3fd4
1 changed files with 4 additions and 2 deletions

View File

@ -90,8 +90,10 @@ async def login_do(evt: CommandEvent, gen: AsyncGenerator[Tuple[str, str], None]
# else: pass # else: pass
if not failure and evt.sender.command_status: if not failure and evt.sender.command_status:
await evt.reply("Successfully logged in, now syncing") await evt.reply("Successfully logged in, now go home")
await evt.sender.sync() # 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 # else command was cancelled or failed. Don't post message about it, "cancel" command or failure did already
evt.sender.command_status = None evt.sender.command_status = None