Merge remote-tracking branch 'origin/新潘多拉_6.8.2' into 新潘多拉_6.8.2

# Conflicts:
#	live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
This commit is contained in:
ningwenqiang 2024-09-24 13:57:32 +08:00
commit ad44be5af8

View File

@ -911,16 +911,18 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
L.e("getIsFirstEntry:"+data.getEnterRoomInfo().getIsFirstEntry()); L.e("getIsFirstEntry:"+data.getEnterRoomInfo().getIsFirstEntry());
L.e("getIsNewUser:"+data.getEnterRoomInfo().getIsNewUser()); L.e("getIsNewUser:"+data.getEnterRoomInfo().getIsNewUser());
L.e("getIsattention:"+data.getEnterRoomInfo().getIsattention()); L.e("getIsattention:"+data.getEnterRoomInfo().getIsattention());
//检测是否是首次观看该直播间 if(data.getEnterRoomInfo().getIsNewUser().equals("1")){
if(data.getEnterRoomInfo().getIsFirstEntry().equals("1")&&data.getEnterRoomInfo().getIsNewUser().equals("1")){ //检测是否是首次观看该直播间
mLiveRoomViewHolder.firstLookLiveNotify(); if(data.getEnterRoomInfo().getIsFirstEntry().equals("1")){
mLiveRoomViewHolder.firstLookLiveNotify();
}
//判断是否有免费礼物
if(data.getNewPeopleTask().getTask().getSendgift().equals("0")){
mLiveRoomViewHolder.firstLook5MinLiveNotify();
}
//观看200秒之后推送活动入口im消息
mLiveRoomViewHolder.firstTaskInlet1Notify();
} }
//判断是否有免费礼物
if(data.getNewPeopleTask().getTask().getSendgift().equals("0")){
mLiveRoomViewHolder.firstLook5MinLiveNotify();
}
//观看200秒之后推送活动入口im消息
mLiveRoomViewHolder.firstTaskInlet1Notify();
} }
@Override @Override