diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-01-01 21:09:14 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-01-01 21:09:14 +0300 |
| commit | 3312b19085ef68b63daed0f04aa676e5cdfa3b43 (patch) | |
| tree | 9b3e86cf01bbce1d9cbc97f8c3c11976c9260318 /protocols/Discord/src/gateway.cpp | |
| parent | 6bfb0fc3e5fcbcb36829d9283c4900427c7682c2 (diff) | |
fixes #4092 (Discord: cannot autologin at startup)
Diffstat (limited to 'protocols/Discord/src/gateway.cpp')
| -rw-r--r-- | protocols/Discord/src/gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/gateway.cpp b/protocols/Discord/src/gateway.cpp index 0530945c3e..04958142be 100644 --- a/protocols/Discord/src/gateway.cpp +++ b/protocols/Discord/src/gateway.cpp @@ -315,7 +315,7 @@ void CDiscordProto::GatewaySendResume() bool CDiscordProto::GatewaySendStatus(int iStatus, const wchar_t *pwszStatusText)
{
if (iStatus == ID_STATUS_OFFLINE) {
- Push(new AsyncHttpRequest(this, REQUEST_POST, "/auth/logout", nullptr));
+ Push(new AsyncHttpRequest(this, REQUEST_POST, "/auth/logout", &CDiscordProto::OnReceiveLogout));
return true;
}
|
