Commit 1599f46d authored by Alex朱枝文's avatar Alex朱枝文

涉及到七鱼的回调增加跳主线程,再加上两处

parent 93c68049
......@@ -226,8 +226,11 @@ extension YHButlerServiceManager {
}
initSDKAccountAndLastMessage { _ in
// 为了更新状态
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
}
}
}
@objc private func loginSuccess() {
......@@ -236,9 +239,11 @@ extension YHButlerServiceManager {
}
initSDKAccountAndLastMessage { _ in
// 为了更新状态
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
}
}
}
@objc private func logoutSuccess() {
// 如果登出时需要关闭聊天页
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment