diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-25 16:15:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-25 16:15:47 +0300 |
commit | dfcfd2d4f53590faf29f3192eab235ffcace6bf2 (patch) | |
tree | 8b0fa9eaa8b428c7eedd83171b2af66f1e5f4f37 /protocols/Discord/src/connection.cpp | |
parent | 1c1ee19ac151d50f436b94db778ac53313d3de3e (diff) |
fixes #845 ([Discord] Adding a new contact causes "Only bots can use this endpoint" error)
Diffstat (limited to 'protocols/Discord/src/connection.cpp')
-rw-r--r-- | protocols/Discord/src/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/connection.cpp b/protocols/Discord/src/connection.cpp index 3d1ad8e83a..06cda379c2 100644 --- a/protocols/Discord/src/connection.cpp +++ b/protocols/Discord/src/connection.cpp @@ -127,7 +127,7 @@ void CDiscordProto::ServerThread(void*) if (m_szAccessToken != nullptr) // try to receive a response from server - RetrieveUserInfo(0); + RetrieveMyInfo(); else { if (mir_wstrlen(m_wszEmail) == 0) { ConnectionFailed(LOGINERR_BADUSERID); |