mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Business
This commit is contained in:
@@ -243,8 +243,7 @@ private func updatedContextQueryResultStateForQuery(context: AccountContext, pee
|
||||
return false
|
||||
}
|
||||
var sortedCommands = filteredCommands.map(ChatInputTextCommand.command)
|
||||
if !shortcuts.isEmpty {
|
||||
sortedCommands.removeAll()
|
||||
if !shortcuts.isEmpty && sortedCommands.isEmpty {
|
||||
for shortcut in shortcuts {
|
||||
sortedCommands.append(.shortcut(shortcut))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user