summaryrefslogtreecommitdiff
path: root/protocols/Telegram
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-05 20:33:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-05 20:33:34 +0300
commitcf3f2ead4e9d0aa2aad0cd640b2df53527fe3641 (patch)
tree6503f3a6e1e155d4897431266710e6d015acc393 /protocols/Telegram
parent5eab82b9f3104bc5a1ac9a033daf91a9bd627ee8 (diff)
fixes #4019 (Telegram: изредка имя чата корёжит при добавлении Миранды в чат )
Diffstat (limited to 'protocols/Telegram')
-rw-r--r--protocols/Telegram/src/groupchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/groupchat.cpp b/protocols/Telegram/src/groupchat.cpp
index 3df631aa1b..ae2eaec808 100644
--- a/protocols/Telegram/src/groupchat.cpp
+++ b/protocols/Telegram/src/groupchat.cpp
@@ -424,7 +424,7 @@ void CTelegramProto::ProcessSuperGroup(TD::updateSupergroup *pObj)
if (iStatusId == TD::chatMemberStatusLeft::ID) {
auto *pUser = AddFakeUser(tmp.id, true);
- pUser->wszNick = getName(pGroup->group->usernames_.get());
+ pUser->wszNick = Utf2T(getName(pGroup->group->usernames_.get()));
pUser->wszLastName.Format(TranslateT("%d member(s)"), pGroup->group->member_count_);
}
else {