This commit is contained in:
bekannax
2024-12-03 23:35:10 +07:00
parent c1223c6acc
commit 0338a14762

View File

@@ -32,7 +32,6 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
private static let method_destroy = "destroy" private static let method_destroy = "destroy"
private static let method_pageLoaded = "pageLoaded" private static let method_pageLoaded = "pageLoaded"
public var chatView: WKWebView! public var chatView: WKWebView!
private var callJs: Array<String>! private var callJs: Array<String>!
private var didFinish: Bool = false private var didFinish: Bool = false
@@ -41,7 +40,6 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
private var css: String = "" private var css: String = ""
private var alertLoading: UIAlertController? private var alertLoading: UIAlertController?
private static func getUnreadedMessagesCallback(_ result: NSDictionary) -> NSDictionary { private static func getUnreadedMessagesCallback(_ result: NSDictionary) -> NSDictionary {
let resultWrapper = ChatApiMessagesWrapper(result) let resultWrapper = ChatApiMessagesWrapper(result)
if resultWrapper.getMessages().count == 0 { if resultWrapper.getMessages().count == 0 {