|
|
@@ -283,17 +283,17 @@ class LiveBroadcastActivity :
|
|
|
*/
|
|
|
private fun makeMessageAsRead(msg: V2TIMMessage) {
|
|
|
runOnUiThread {
|
|
|
- V2TIMManager.getConversationManager()
|
|
|
- .cleanConversationUnreadMessageCount(String.format("c2c_%s", msg.sender),
|
|
|
- 0,
|
|
|
- 0,
|
|
|
- object : V2TIMCallback {
|
|
|
- override fun onSuccess() {
|
|
|
- }
|
|
|
+ V2TIMManager.getConversationManager().cleanConversationUnreadMessageCount(
|
|
|
+ String.format("c2c_%s", msg.sender),
|
|
|
+ 0,
|
|
|
+ 0,
|
|
|
+ object : V2TIMCallback {
|
|
|
+ override fun onSuccess() {
|
|
|
+ }
|
|
|
|
|
|
- override fun onError(p0: Int, p1: String?) {
|
|
|
- }
|
|
|
- })
|
|
|
+ override fun onError(p0: Int, p1: String?) {
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -326,6 +326,7 @@ class LiveBroadcastActivity :
|
|
|
.withString("fullFlag", gameTasksBean.fullFlag)
|
|
|
.withString("frameImg", gameTasksBean.frameImg)
|
|
|
.withTransition(R.anim.leftin, R.anim.leftout).navigation(mContext)
|
|
|
+ reportLog("直播间跳转游戏页面,游戏内容:" + GsonUtil.GsonString(gameTasksBean))
|
|
|
}
|
|
|
}
|
|
|
|