新增判断-push,im 是新用户才会推
This commit is contained in:
parent
1357eaaac9
commit
6f3dd58a8b
@ -910,8 +910,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
L.e("getIsFirstEntry:"+data.getEnterRoomInfo().getIsFirstEntry());
|
||||
L.e("getIsNewUser:"+data.getEnterRoomInfo().getIsNewUser());
|
||||
L.e("getIsattention:"+data.getEnterRoomInfo().getIsattention());
|
||||
if(data.getEnterRoomInfo().getIsNewUser().equals("1")){
|
||||
//检测是否是首次观看该直播间
|
||||
if(data.getEnterRoomInfo().getIsFirstEntry().equals("1")&&data.getEnterRoomInfo().getIsNewUser().equals("1")){
|
||||
if(data.getEnterRoomInfo().getIsFirstEntry().equals("1")){
|
||||
mLiveRoomViewHolder.firstLookLiveNotify();
|
||||
}
|
||||
//判断是否有免费礼物
|
||||
@ -921,6 +922,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
//观看200秒之后,推送活动入口im消息
|
||||
mLiveRoomViewHolder.firstTaskInlet1Notify();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(String error) {
|
||||
|
Loading…
Reference in New Issue
Block a user