2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Support free transcribes in groups.

This commit is contained in:
John Preston
2024-02-09 18:09:48 +04:00
parent cfaef4c441
commit fc6f2520b7
8 changed files with 41 additions and 22 deletions

View File

@@ -649,7 +649,7 @@ bool ChannelData::canEditStickers() const {
}
bool ChannelData::canEditEmoji() const {
return amCreator(); AssertIsDebug();
return amCreator() || (adminRights() & ChatAdminRight::ChangeInfo);
}
bool ChannelData::canDelete() const {