summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/routes/(app)/c')
-rw-r--r--ui/routes/(app)/c/[conversation]/+page.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/routes/(app)/c/[conversation]/+page.svelte b/ui/routes/(app)/c/[conversation]/+page.svelte
index 5a832ee..a487e85 100644
--- a/ui/routes/(app)/c/[conversation]/+page.svelte
+++ b/ui/routes/(app)/c/[conversation]/+page.svelte
@@ -61,7 +61,9 @@
registration.active.postMessage({
type: 'CONVERSATION_READ',
conversationId,
- at,
+ // The service worker's idea of "has been read yet" is more
+ // constrained, so we just tell it "we read it now, at this moment".
+ at: new Date(),
});
});
}