Skip to content

Commit

Permalink
修复IMKitEngine调用
Browse files Browse the repository at this point in the history
  • Loading branch information
徐善栋 committed Sep 21, 2022
1 parent 84057df commit 9d793c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD

func startLogin(account:String,token:String){
weak var weakSelf = self
IMKitLoginManager.instance.loginIM(account, token) { error in
IMKitEngine.instance.loginIM(account, token) { error in
if let err = error {
print("NEKitCore login error : ", err)
}else {
ChatRouter.setupInit()
let param = QChatLoginParam(account,token)
IMKitLoginManager.instance.loginQchat(param) { error, response in
IMKitEngine.instance.loginQchat(param) { error, response in
if let err = error {
print("qchatLogin failed, error : ", err)
}else {
Expand Down

0 comments on commit 9d793c4

Please sign in to comment.