mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Memory management issues
This commit is contained in:
@@ -166,7 +166,7 @@ final class MentionChatInputContextPanelNode: ChatInputContextPanelNode {
|
||||
}
|
||||
}, removeRequested: { [weak self] peerId in
|
||||
if let strongSelf = self {
|
||||
let _ = strongSelf.context.engine.peers.removeRecentlyUsedInlineBot(peerId: peerId).start()
|
||||
let _ = strongSelf.context.engine.peers.removeRecentlyUsedInlineBot(peerId: peerId).startStandalone()
|
||||
|
||||
strongSelf.revealedPeerId = nil
|
||||
strongSelf.currentResults = strongSelf.currentResults.filter { $0.id != peerId }
|
||||
|
||||
Reference in New Issue
Block a user