From 72feb673cb024b18f144631ed37af2e6cc00800a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Trzci=C5=84ski?= Date: Tue, 24 Sep 2024 12:25:17 +0200 Subject: [PATCH] [#66149] show username when typing in comments --- src/components/Comment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Comment.js b/src/components/Comment.js index e856c52..b13c891 100644 --- a/src/components/Comment.js +++ b/src/components/Comment.js @@ -108,6 +108,7 @@ const YComment = ({ ycomments, commentId, collaboration }) => { ytext.observe((_, tr) => { if (!tr.local) return; ycomments.syncSuggestions(commentId); + ycomments.provider.awareness.setLocalStateField("lastChanged", Date.now()); }); if (ycomments.newLocalComment) {