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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user