mobile chat themes
This commit is contained in:
@@ -702,6 +702,7 @@ function filterRooms() { renderRooms(); }
|
|||||||
async function selectRoom(roomId) {
|
async function selectRoom(roomId) {
|
||||||
currentRoomId = roomId;
|
currentRoomId = roomId;
|
||||||
oldestMsgId = null;
|
oldestMsgId = null;
|
||||||
|
markRead(roomId); // 立即标记已读,使聊天气泡消失
|
||||||
document.getElementById('emptyState').classList.add('hidden');
|
document.getElementById('emptyState').classList.add('hidden');
|
||||||
// 隐藏通知详情
|
// 隐藏通知详情
|
||||||
const nd = document.getElementById('notifDetailView');
|
const nd = document.getElementById('notifDetailView');
|
||||||
@@ -729,7 +730,6 @@ async function selectRoom(roomId) {
|
|||||||
}
|
}
|
||||||
renderRooms();
|
renderRooms();
|
||||||
await loadMessages(roomId);
|
await loadMessages(roomId);
|
||||||
markRead(roomId);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateChatHeaderExamStatus(room) {
|
function updateChatHeaderExamStatus(room) {
|
||||||
|
|||||||
Reference in New Issue
Block a user