diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-09 14:53:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-09 14:53:13 +0300 |
commit | fe91bc12a060019711224ad4be8be039308ac07f (patch) | |
tree | d66cda9bd714cd9c7ffc104208227e09867d8645 /protocols | |
parent | 8ce7f2a163690e9f6830d121149a41aa64e81653 (diff) |
fixes #3884 (Telegram: менять имя контакта "Saved messages" при изменении языка в Миранде)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Telegram/src/server.cpp | 3 |
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"));
}
}
|