Remove tag editing in broadcasts.

This commit is contained in:
John Preston
2026-03-01 21:31:05 +04:00
parent c569781921
commit 02bf8e52af
@@ -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);