diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-11 19:52:52 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-11 19:52:52 +0300 |
commit | 02bb82c1c0a4031e7b2f5578370fa5acd620f8e1 (patch) | |
tree | c18da4f063f47fc89cd2d57a5184bb15b7a135fb /protocols/Telegram/src/server.cpp | |
parent | 120b68869dab681e9c2360cd2b3905ee3a7ecf4a (diff) |
fixes #4653 (Плагины сообщений: невозможно удалить имя группы чатов)
Diffstat (limited to 'protocols/Telegram/src/server.cpp')
-rw-r--r-- | protocols/Telegram/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index f1bf7abb25..b8450f98c1 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -723,7 +723,7 @@ void CTelegramProto::ProcessChatPosition(TD::updateChatPosition *pObj) wchar_t *pwszDefaultGroup = m_wszDefaultGroup;
if (!pwszExistingGroup || pUser->isForum
|| !mir_wstrncmp(pwszExistingGroup, pwszDefaultGroup, mir_wstrlen(pwszDefaultGroup))
- || (pUser->isGroupChat && !mir_wstrcmp(pwszExistingGroup, ptrW(Chat_GetGroup()))))
+ || (pUser->isGroupChat && !mir_wstrcmp(pwszExistingGroup, Chat_GetGroup())))
{
CMStringW wszNewGroup(pwszDefaultGroup);
if (!wszGroup.IsEmpty())
|