mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Initial chat-translation feature implementation.
This commit is contained in:
@@ -470,6 +470,7 @@ void ApplyChatUpdate(not_null<ChatData*> chat, const MTPDchatFull &update) {
|
||||
}
|
||||
chat->checkFolder(update.vfolder_id().value_or_empty());
|
||||
chat->setThemeEmoji(qs(update.vtheme_emoticon().value_or_empty()));
|
||||
chat->setTranslationDisabled(update.is_translations_disabled());
|
||||
if (const auto allowed = update.vavailable_reactions()) {
|
||||
chat->setAllowedReactions(Data::Parse(*allowed));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user