diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-04 14:25:18 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-04 14:25:18 +0300 |
commit | 6c12a57491459072c1b079cad1b6ee7963dec0bf (patch) | |
tree | e1c1dff5508f9e2d0173dd0ddbd0ce63b3228d03 /protocols/Discord/src/groupchat.cpp | |
parent | ec3b265c976a31d23447843a31f129375b212049 (diff) |
fixes #4397 (Discord: пункт меню контакта "Leave channel" не работает)
Diffstat (limited to 'protocols/Discord/src/groupchat.cpp')
-rw-r--r-- | protocols/Discord/src/groupchat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|