Don't add "Change colors" to profile menu.
This commit is contained in:
parent
4ef550da9b
commit
4ea72f8f89
|
@ -487,7 +487,7 @@ void Filler::addUserActions(not_null<UserData*> user) {
|
||||||
[=] { AddBotToGroup::Start(user); });
|
[=] { AddBotToGroup::Start(user); });
|
||||||
}
|
}
|
||||||
addPollAction(user);
|
addPollAction(user);
|
||||||
if (!user->isBot()) {
|
if (!user->isBot() && _request.section == Section::History) {
|
||||||
_addAction(
|
_addAction(
|
||||||
tr::lng_chat_theme_change(tr::now),
|
tr::lng_chat_theme_change(tr::now),
|
||||||
[=] { controller->toggleChooseChatTheme(user); });
|
[=] { controller->toggleChooseChatTheme(user); });
|
||||||
|
|
Loading…
Reference in New Issue