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