Removed ability to set wallpaper to chat with bot verification.

This commit is contained in:
23rd 2025-04-07 19:44:04 +03:00 committed by John Preston
parent 0638c86211
commit df69a70dd7

View file

@ -1186,6 +1186,9 @@ void Filler::addCreatePoll() {
}
void Filler::addThemeEdit() {
if (_peer->isVerifyCodes()) {
return;
}
const auto user = _peer->asUser();
if (!user || user->isInaccessible()) {
return;