|
@@ -61,7 +61,7 @@ class HomeActivity : BaseXActivity<ActivityHomeBinding>(), IPayCallback {
|
|
|
|
|
|
override fun initOther() {
|
|
|
unreadMessageVm = ViewModelProviderUtil.getUnreadMessageViewModel(application)
|
|
|
- TUIKit.init(this, UrlConstant.getImId(), TUIKitConfigs.getConfigs())
|
|
|
+ TUIKit.init(application, UrlConstant.getImId(), TUIKitConfigs.getConfigs())
|
|
|
PayManager.init()
|
|
|
IMMessageManager.groupMessageParser.add(GroupMsgParser())
|
|
|
|