Fix minor bugs

This commit is contained in:
Tulir Asokan
2019-08-06 14:20:26 +03:00
parent 935694cb64
commit 66e0698d2f
2 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ async def ping_matrix(evt: CommandEvent) -> EventID:
if not puppet.is_real_user:
return await evt.reply("You are not logged in with your Matrix account.")
try:
await puppet.init_custom_mxid()
await puppet.start()
except InvalidAccessToken:
return await evt.reply("Your access token is invalid.")
return await evt.reply("Your Matrix login is working.")