adding @mention functionality

This commit is contained in:
2026-01-27 14:48:02 +01:00
parent e33115c2d9
commit a52c50198e
2 changed files with 47 additions and 25 deletions

View File

@@ -1208,6 +1208,7 @@ class NotificationSystem {
let typeText = 'Start';
if (n.type === 'comment_reply') typeText = 'replied to you';
else if (n.type === 'subscription') typeText = 'commented in a thread you follow';
else if (n.type === 'mention') typeText = 'highlighted you';
const cid = n.comment_id || n.reference_id;
const link = `/${n.item_id}#c${cid}`;