mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Removed ability to set wallpaper for deleted accounts.
This commit is contained in:
parent
67cc0ef75c
commit
7084cf9526
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ void Filler::addCreatePoll() {
|
|||
|
||||
void Filler::addThemeEdit() {
|
||||
const auto user = _peer->asUser();
|
||||
if (!user || user->isBot()) {
|
||||
if (!user || user->isBot() || user->isInaccessible()) {
|
||||
return;
|
||||
}
|
||||
const auto controller = _controller;
|
||||
|
|
Loading…
Add table
Reference in a new issue