Skip to content

Commit

Permalink
[#66149] show username when typing in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Trzcin committed Oct 10, 2024
1 parent bdb12f2 commit 72feb67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 72feb67

Please sign in to comment.