Fix crash in 5.10.2.

This commit is contained in:
John Preston 2025-01-09 18:02:47 +04:00
parent 277d76df3e
commit 8c56fddc55

View file

@ -261,6 +261,7 @@ SendError RestrictionError(
}
}
if (all
&& channel
&& channel->boostsUnrestrict()
&& !channel->unrestrictedByBoosts()) {
return SendError({