2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Allow saving "Autotranslation of Messages" in channels.

This commit is contained in:
John Preston
2025-04-24 13:54:07 +04:00
parent 8d734f5cc4
commit eb81c33308
13 changed files with 174 additions and 5 deletions

View File

@@ -649,7 +649,11 @@ bool ChannelData::canEditPermissions() const {
}
bool ChannelData::canEditSignatures() const {
return isChannel() && canEditInformation();
return isBroadcast() && canEditInformation();
}
bool ChannelData::canEditAutoTranslate() const {
return isBroadcast() && canEditInformation();
}
bool ChannelData::canEditPreHistoryHidden() const {