Don't add "Change colors" to profile menu.

This commit is contained in:
John Preston 2021-09-30 15:30:29 +04:00
parent 4ef550da9b
commit 4ea72f8f89
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ void Filler::addUserActions(not_null<UserData*> user) {
[=] { AddBotToGroup::Start(user); });
}
addPollAction(user);
if (!user->isBot()) {
if (!user->isBot() && _request.section == Section::History) {
_addAction(
tr::lng_chat_theme_change(tr::now),
[=] { controller->toggleChooseChatTheme(user); });