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