酒吧房小黑屋禁止播放cp and jia_jia.
This commit is contained in:
@@ -1588,6 +1588,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
|||||||
}
|
}
|
||||||
} else if (msgType == EMMessageInfo.QXRoomMessageTypeCPText) {
|
} else if (msgType == EMMessageInfo.QXRoomMessageTypeCPText) {
|
||||||
LogUtils.e("CPText", messageEvent.text.rights_icon)
|
LogUtils.e("CPText", messageEvent.text.rights_icon)
|
||||||
|
if (mRoomInfoResp?.room_info?.room_id.equals(messageEvent.roomId)) {
|
||||||
if (messageEvent.text.rights_icon.isNotEmpty()) {
|
if (messageEvent.text.rights_icon.isNotEmpty()) {
|
||||||
GiftDisplayManager.getInstance().setupDisplayView(mBinding?.giftContainer)
|
GiftDisplayManager.getInstance().setupDisplayView(mBinding?.giftContainer)
|
||||||
QXGiftPlayerManager.getInstance(this).displayCPView(
|
QXGiftPlayerManager.getInstance(this).displayCPView(
|
||||||
@@ -1598,9 +1599,11 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
|||||||
messageEvent.text.rights_icon
|
messageEvent.text.rights_icon
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO================ CP入场不触发播放 临时添加===============
|
//TODO================ CP入场不触发播放 临时添加===============
|
||||||
scheduleEnterActivityOnce()
|
scheduleEnterActivityOnce()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} else if (msgType == EMMessageInfo.QXRoomMessageTypeSignStartText) {
|
} else if (msgType == EMMessageInfo.QXRoomMessageTypeSignStartText) {
|
||||||
roomFragment?.handleRoomMessage(messageEvent)
|
roomFragment?.handleRoomMessage(messageEvent)
|
||||||
softRebuildUI()
|
softRebuildUI()
|
||||||
@@ -2117,6 +2120,8 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
|||||||
if (roomId != roomMessageEvent.roomId) {
|
if (roomId != roomMessageEvent.roomId) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mRoomInfoResp?.room_info?.room_id.equals(roomMessageEvent.roomId)) {
|
||||||
if (roomMessageEvent.text.jia_jia != null && roomMessageEvent.text.jia_jia.isNotEmpty()) {
|
if (roomMessageEvent.text.jia_jia != null && roomMessageEvent.text.jia_jia.isNotEmpty()) {
|
||||||
val gift = GiftBean()
|
val gift = GiftBean()
|
||||||
gift.gift_id = ""
|
gift.gift_id = ""
|
||||||
@@ -2128,6 +2133,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
|||||||
|
|
||||||
//TODO================ 坐骑入场不触发播放 临时添加===============
|
//TODO================ 坐骑入场不触发播放 临时添加===============
|
||||||
scheduleEnterActivityOnce()
|
scheduleEnterActivityOnce()
|
||||||
|
}
|
||||||
|
|
||||||
MvpPre?.getRoomOnline(roomId, "1", "10")
|
MvpPre?.getRoomOnline(roomId, "1", "10")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user