forked from fair/matrix-puppeteer-line
Don't sync after login (yet)
This commit is contained in:
parent
874fb375d9
commit
ab869083b3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user