mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-14 16:53:52 +00:00
0.2.1
This commit is contained in:
@@ -31,7 +31,8 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
|
||||
public static let method_getContacts = "getContacts"
|
||||
private static let method_destroy = "destroy"
|
||||
private static let method_pageLoaded = "pageLoaded"
|
||||
|
||||
|
||||
|
||||
public var chatView: WKWebView!
|
||||
private var callJs: Array<String>!
|
||||
private var didFinish: Bool = false
|
||||
@@ -40,6 +41,7 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
|
||||
private var css: String = ""
|
||||
private var alertLoading: UIAlertController?
|
||||
|
||||
|
||||
private static func getUnreadedMessagesCallback(_ result: NSDictionary) -> NSDictionary {
|
||||
let resultWrapper = ChatApiMessagesWrapper(result)
|
||||
if resultWrapper.getMessages().count == 0 {
|
||||
|
||||
Reference in New Issue
Block a user