Skip to content

Commit 674999e

Browse files
committed
Fix build
1 parent 136122d commit 674999e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

submodules/WebUI/Sources/WebAppController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,8 @@ public final class WebAppController: ViewController, AttachmentContainable {
11121112
}
11131113

11141114
let _ = (self.context.engine.messages.allowBotSendMessages(botId: controller.botId)
1115-
|> deliverOnMainQueue).start(next: { result in
1116-
sendEvent(result)
1115+
|> deliverOnMainQueue).start(completed: {
1116+
sendEvent(true)
11171117
})
11181118
})], parseMarkdown: true)
11191119
alertController.dismissed = { byOutsideTap in

0 commit comments

Comments
 (0)