mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Removed ability to set wallpaper for deleted accounts.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user