This commit is contained in:
Peter 2019-06-07 23:53:38 +01:00
parent 4150d20eb0
commit ad3272fbb4

View File

@ -601,7 +601,8 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal
}
})
strongSelf.messageActionCallbackDisposable.set(((requestMessageActionCallback(account: strongSelf.context.account, messageId: messageId, isGame: isGame, data: data) |> afterDisposed {
strongSelf.messageActionCallbackDisposable.set(((requestMessageActionCallback(account: strongSelf.context.account, messageId: messageId, isGame: isGame, data: data)
|> afterDisposed {
Queue.mainQueue().async {
if let strongSelf = self {
strongSelf.updateChatPresentationInterfaceState(animated: true, interactive: true, {
@ -623,7 +624,8 @@ public final class ChatController: TelegramController, KeyShortcutResponder, Gal
})
}
}
}) |> deliverOnMainQueue).start(next: { result in
})
|> deliverOnMainQueue).start(next: { result in
if let strongSelf = self {
switch result {
case .none: