diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index 3114423c4..f04bb2a71 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -4198,15 +4198,15 @@ vector StickersManager::get_sticker_emojis(const tl_object_ptr commands{"GetContacts", - "GetChats", - "GetHistory", - "SetVerbosity", - "SendVideo", - "SearchDocument", - "GetChatMember", - "GetSupergroupAdministrators", - "GetSupergroupBanned", - "GetSupergroupMembers", - "GetFile", - "DownloadFile", - "CancelDownloadFile", - "ImportContacts", - "RemoveContacts", - "DumpNetQueries", - "CreateSecretChat", - "CreateNewSecretChat"}; + static const vector commands{"GetContacts", + "GetChats", + "GetHistory", + "SetVerbosity", + "SendVideo", + "SearchDocument", + "GetChatMember", + "GetSupergroupAdministrators", + "GetSupergroupBanned", + "GetSupergroupMembers", + "GetFile", + "DownloadFile", + "CancelDownloadFile", + "ImportContacts", + "RemoveContacts", + "DumpNetQueries", + "CreateSecretChat", + "CreateNewSecretChat"}; static size_t cmd_i; if (state == 0) { cmd_i = 0;