mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-14 16:53:52 +00:00
0.2.2
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user