Fondation
This commit is contained in:
parent
5e518d4e96
commit
246d7d1a11
@ -82,7 +82,7 @@ export function Parole() {
|
||||
|
||||
// Detect new messages by comparing IDs (more reliable than count)
|
||||
const newMessageIds = new Set(
|
||||
Array.from(currentMessageIds).filter((id: string) => !lastMessageIdsRef.current.has(id))
|
||||
(Array.from(currentMessageIds) as string[]).filter((id: string) => !lastMessageIdsRef.current.has(id))
|
||||
);
|
||||
const hasNewMessages = newMessageIds.size > 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user