Skip to content

Commit f80a5e7

Browse files
authored
Merge pull request #351 from Dongshanxu/master
修复IMKitEngine调用
2 parents d921cdb + 9d793c4 commit f80a5e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
8080

8181
func startLogin(account:String,token:String){
8282
weak var weakSelf = self
83-
IMKitLoginManager.instance.loginIM(account, token) { error in
83+
IMKitEngine.instance.loginIM(account, token) { error in
8484
if let err = error {
8585
print("NEKitCore login error : ", err)
8686
}else {
8787
ChatRouter.setupInit()
8888
let param = QChatLoginParam(account,token)
89-
IMKitLoginManager.instance.loginQchat(param) { error, response in
89+
IMKitEngine.instance.loginQchat(param) { error, response in
9090
if let err = error {
9191
print("qchatLogin failed, error : ", err)
9292
}else {

0 commit comments

Comments
 (0)