2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Apply auto-translation from French? for test.

This commit is contained in:
John Preston
2025-04-24 14:36:31 +04:00
parent eb81c33308
commit 9583007769
5 changed files with 30 additions and 3 deletions

View File

@@ -734,6 +734,13 @@ bool PeerData::canExportChatHistory() const {
return false;
}
bool PeerData::autoTranslation() const {
if (const auto channel = asChannel()) {
return channel->autoTranslation();
}
return false;
}
bool PeerData::setAbout(const QString &newAbout) {
if (_about == newAbout) {
return false;