酒吧交友房 消息显示 3。
This commit is contained in:
@@ -1612,7 +1612,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
if (publicScreenFragment != null) {
|
||||
MessageExListenerSingleton.getInstance().joinGroup(messageEvent.text.room_id)
|
||||
publicScreenFragment?.setupExMessageListener()
|
||||
publicScreenFragment?.setIsPriRoom(true)
|
||||
publicScreenFragment?.setIsPriRoom(true, arrayListOf(messageEvent.text.user_id,messageEvent.text.meet_user_id))
|
||||
}
|
||||
}
|
||||
}else if (msgType == EMMessageInfo.QXRoomMessageTypeFlirtatiousRoomPush) {//酒吧房抱麦推送
|
||||
@@ -3932,7 +3932,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
if (publicScreenFragment != null) {
|
||||
publicScreenFragment?.mIsPriRoom = false
|
||||
publicScreenFragment?.clearExMessageListener()
|
||||
publicScreenFragment?.setIsPriRoom(false)
|
||||
publicScreenFragment?.setIsPriRoom(false, arrayListOf())
|
||||
}
|
||||
MvpPre?.getRoomIn(AgoraManager.getInstance().lastRoomId, "")
|
||||
AgoraManager.getInstance().lastRoomId = ""
|
||||
|
||||
@@ -298,9 +298,10 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
||||
}
|
||||
}
|
||||
|
||||
public void setIsPriRoom(boolean isPriRoom) {
|
||||
public void setIsPriRoom(boolean isPriRoom,List<String> userIdList) {
|
||||
if (easeChatAdapter != null) {
|
||||
easeChatAdapter.isPriRoom = isPriRoom;
|
||||
easeChatAdapter.userIdList = userIdList;
|
||||
easeChatAdapter.notifyDataSetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user