Skip to content

Commit

Permalink
Merge pull request #351 from Dongshanxu/master
Browse files Browse the repository at this point in the history
修复IMKitEngine调用
  • Loading branch information
shine2008 authored Sep 21, 2022
2 parents d921cdb + 9d793c4 commit f80a5e7
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 f80a5e7

Please sign in to comment.