From d9d6a68bd1150586e22c0f6f507e45477650a0db Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Feb 2024 13:42:58 +0300 Subject: more logs --- protocols/Telegram/src/server.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/Telegram/src/server.cpp') diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 00ee4b01d4..1b753ffc22 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -630,8 +630,10 @@ void CTelegramProto::ProcessChatPosition(TD::updateChatPosition *pObj) if (!pwszExistingGroup || (!pUser->isGroupChat && !mir_wstrcmp(pwszExistingGroup, m_wszDefaultGroup)) - || (pUser->isGroupChat && !mir_wstrcmp(pwszExistingGroup, ptrW(Chat_GetGroup())))) { + || (pUser->isGroupChat && !mir_wstrcmp(pwszExistingGroup, ptrW(Chat_GetGroup())))) + { CMStringW wszNewGroup(FORMAT, L"%s\\%s", (wchar_t *)m_wszDefaultGroup, wszGroup.c_str()); + debugLogW(L"Setting group for %d to %s", pUser->hContact, wszNewGroup.c_str()); Clist_GroupCreate(0, wszNewGroup); Clist_SetGroup(pUser->hContact, wszNewGroup); } -- cgit v1.2.3