2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Initial chat-translation feature implementation.

This commit is contained in:
John Preston
2023-01-26 19:36:43 +04:00
parent 02a0ca7112
commit 719466fcac
40 changed files with 1356 additions and 141 deletions

View File

@@ -423,6 +423,7 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
user->setCommonChatsCount(update.vcommon_chats_count().v);
user->checkFolder(update.vfolder_id().value_or_empty());
user->setThemeEmoji(qs(update.vtheme_emoticon().value_or_empty()));
user->setTranslationDisabled(update.is_translations_disabled());
if (const auto info = user->botInfo.get()) {
const auto group = update.vbot_group_admin_rights()