mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Remove tag editing in broadcasts.
This commit is contained in:
@@ -2379,7 +2379,7 @@ auto ParticipantsBoxController::computeType(
|
||||
} break;
|
||||
}
|
||||
|
||||
if (user) {
|
||||
if (user && !channel->isBroadcast()) {
|
||||
const auto isSelf = user->isSelf();
|
||||
const auto canEditSelf = isSelf
|
||||
&& !_peer->amRestricted(ChatRestriction::EditRank);
|
||||
|
||||
Reference in New Issue
Block a user