From 6c12a57491459072c1b079cad1b6ee7963dec0bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 May 2024 14:25:18 +0300 Subject: =?UTF-8?q?fixes=20#4397=20(Discord:=20=D0=BF=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=82=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B0=20"Leave=20channel"=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Discord/src/groupchat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/Discord/src/groupchat.cpp b/protocols/Discord/src/groupchat.cpp index 0e5eb96d32..4918e5c2c7 100644 --- a/protocols/Discord/src/groupchat.cpp +++ b/protocols/Discord/src/groupchat.cpp @@ -265,7 +265,7 @@ void CDiscordProto::LeaveChat(CDiscordUser *pChat) INT_PTR CDiscordProto::SvcLeaveChat(WPARAM hContact, LPARAM) { - if (auto *pUser = FindUserByChannel(getId(hContact, DB_KEY_ID))) + if (auto *pUser = FindUserByChannel(getId(hContact, DB_KEY_CHANNELID))) if (pUser->si) LeaveChat(pUser); return 0; -- cgit v1.2.3