酒吧交友房 消息高亮显示。
This commit is contained in:
@@ -972,7 +972,6 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
setviewyc(true)
|
||||
}
|
||||
|
||||
|
||||
// Log room join action
|
||||
LogUtils.e("加入", roomId)
|
||||
// Build comma-separated user IDs from pit list
|
||||
@@ -1604,6 +1603,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
if (publicScreenFragment != null) {
|
||||
MessageExListenerSingleton.getInstance().joinGroup(messageEvent.text.room_id)
|
||||
publicScreenFragment?.setupExMessageListener()
|
||||
publicScreenFragment?.setIsPriRoom(true)
|
||||
}
|
||||
}
|
||||
}else if (msgType == EMMessageInfo.QXRoomMessageTypeFlirtatiousRoomPush) {//酒吧房抱麦推送
|
||||
|
||||
@@ -287,6 +287,13 @@ public class ChatRoomFragment extends BaseMvpFragment<ChatRoomPresenter, RoomFra
|
||||
}
|
||||
}
|
||||
|
||||
public void setIsPriRoom(boolean isPriRoom) {
|
||||
if (easeChatAdapter != null) {
|
||||
easeChatAdapter.isPriRoom = isPriRoom;
|
||||
easeChatAdapter.notifyDataSetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private int isNumberWhether() {
|
||||
if (roomInfoResp.getUser_info().getPit_number() == 9) {
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user