mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't add "Change colors" to profile menu.
This commit is contained in:
@@ -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); });
|
||||
|
Reference in New Issue
Block a user