Don't sync after login (yet)

This commit is contained in:
Andrew Ferrazzutti 2021-02-11 00:42:51 -05:00
parent 874fb375d9
commit ab869083b3
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
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