mobile chat themes

This commit is contained in:
2026-03-07 21:43:12 +08:00
parent 86a6c7dd03
commit aa012ea3aa

View File

@@ -702,6 +702,7 @@ function filterRooms() { renderRooms(); }
async function selectRoom(roomId) {
currentRoomId = roomId;
oldestMsgId = null;
markRead(roomId); // 立即标记已读,使聊天气泡消失
document.getElementById('emptyState').classList.add('hidden');
// 隐藏通知详情
const nd = document.getElementById('notifDetailView');
@@ -729,7 +730,6 @@ async function selectRoom(roomId) {
}
renderRooms();
await loadMessages(roomId);
markRead(roomId);
}
function updateChatHeaderExamStatus(room) {