dont print identify message to console

mainly since i feel its only a matter of time before someone copy pastes it somewhere and itd be my fault
also typedef -> using
This commit is contained in:
ouwou
2021-11-25 02:57:11 -05:00
parent 0da913cd4a
commit 8c72d4c18d
3 changed files with 21 additions and 4 deletions

View File

@@ -2012,7 +2012,10 @@ void DiscordClient::SendIdentify() {
msg.ClientState.HighestLastMessageID = "0";
msg.ClientState.ReadStateVersion = 0;
msg.ClientState.UserGuildSettingsVersion = -1;
const bool b = m_websocket.GetPrintMessages();
m_websocket.SetPrintMessages(false);
m_websocket.Send(msg);
m_websocket.SetPrintMessages(b);
}
void DiscordClient::SendResume() {