summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-09 14:53:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-09 14:53:13 +0300
commitfe91bc12a060019711224ad4be8be039308ac07f (patch)
treed66cda9bd714cd9c7ffc104208227e09867d8645 /protocols
parent8ce7f2a163690e9f6830d121149a41aa64e81653 (diff)
fixes #3884 (Telegram: менять имя контакта "Saved messages" при изменении языка в Миранде)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp
index ae8a74e8a5..f9c2d17fc0 100644
--- a/protocols/Telegram/src/server.cpp
+++ b/protocols/Telegram/src/server.cpp
@@ -773,12 +773,13 @@ void CTelegramProto::ProcessOption(TD::updateOption *pObj)
Proto_AddToContact(m_iSavedMessages, m_szModuleName);
SetId(m_iSavedMessages, m_iOwnId);
Clist_SetGroup(m_iSavedMessages, m_wszDefaultGroup);
- setWString(m_iSavedMessages, "Nick", TranslateT("Saved messages"));
pUser = new TG_USER(m_iOwnId, 0);
m_arUsers.insert(pUser);
m_arChats.insert(pUser);
}
+
+ setWString(m_iSavedMessages, "Nick", TranslateT("Saved messages"));
}
}