mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactoring
This commit is contained in:
@@ -85,7 +85,7 @@ final class CommandMenuChatInputContextPanelNode: ChatInputContextPanelNode {
|
||||
|
||||
self.addSubnode(self.listView)
|
||||
|
||||
self.disposable.set((peerCommands(account: context.account, id: peerId)
|
||||
self.disposable.set((context.engine.peers.peerCommands(id: peerId)
|
||||
|> deliverOnMainQueue).start(next: { [weak self] results in
|
||||
if let strongSelf = self {
|
||||
strongSelf.updateResults(results.commands)
|
||||
|
||||
Reference in New Issue
Block a user