Commit ecab4d96 authored by Steven杜宇's avatar Steven杜宇

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

parents a6f14e59 1599f46d
...@@ -226,8 +226,11 @@ extension YHButlerServiceManager { ...@@ -226,8 +226,11 @@ extension YHButlerServiceManager {
} }
initSDKAccountAndLastMessage { _ in initSDKAccountAndLastMessage { _ in
// 为了更新状态 // 为了更新状态
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil) NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
} }
}
} }
@objc private func loginSuccess() { @objc private func loginSuccess() {
...@@ -236,9 +239,11 @@ extension YHButlerServiceManager { ...@@ -236,9 +239,11 @@ extension YHButlerServiceManager {
} }
initSDKAccountAndLastMessage { _ in initSDKAccountAndLastMessage { _ in
// 为了更新状态 // 为了更新状态
DispatchQueue.main.async {
NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil) NotificationCenter.default.post(name: YhConstant.YhNotification.didQiYuUnReadMsgCountChangeNotification, object: nil)
} }
} }
}
@objc private func logoutSuccess() { @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