From 94a542a1d13cf5e49674498025ed699c475ee6b2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 9 Jan 2024 11:17:36 +0400 Subject: [PATCH] Allow change account shortcuts in shortcuts_custom.json --- Telegram/SourceFiles/core/shortcuts.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Telegram/SourceFiles/core/shortcuts.cpp b/Telegram/SourceFiles/core/shortcuts.cpp index 56158e2b5..2d10ad484 100644 --- a/Telegram/SourceFiles/core/shortcuts.cpp +++ b/Telegram/SourceFiles/core/shortcuts.cpp @@ -133,6 +133,13 @@ const auto CommandNames = base::flat_map{ { Command::FolderNext , u"next_folder"_q }, { Command::ShowAllChats , u"all_chats"_q }, + { Command::ShowAccount1 , u"account1"_q }, + { Command::ShowAccount2 , u"account2"_q }, + { Command::ShowAccount3 , u"account3"_q }, + { Command::ShowAccount4 , u"account4"_q }, + { Command::ShowAccount5 , u"account5"_q }, + { Command::ShowAccount6 , u"account6"_q }, + { Command::ShowFolder1 , u"folder1"_q }, { Command::ShowFolder2 , u"folder2"_q }, { Command::ShowFolder3 , u"folder3"_q },