only connect on RESPONSE_OK

This commit is contained in:
ouwou
2023-07-01 01:47:45 -04:00
parent 656bea8e55
commit 044e508df7

View File

@@ -844,9 +844,9 @@ void Abaddon::ActionLoginQR() {
m_discord.UpdateToken(m_discord_token);
m_main_window->UpdateComponents();
GetSettings().DiscordToken = m_discord_token;
ActionConnect();
}
m_main_window->UpdateMenus();
ActionConnect();
}
void Abaddon::ActionChannelOpened(Snowflake id, bool expand_to) {