Fix comment

pull/28209/head
Tulir Asokan 2025-01-03 14:30:38 +02:00
parent 8d654d66ef
commit 002ee7bfd6
1 changed files with 1 additions and 2 deletions

View File

@ -96,8 +96,7 @@ export function attachMentions(
const userMentions = new Set<string>(); const userMentions = new Set<string>();
let roomMention = false; let roomMention = false;
// If there's a reply, initialize the mentioned users as the sender of that // If there's a reply, initialize the mentioned users as the sender of that event.
// event + any mentioned users in that event.
if (replyToEvent) { if (replyToEvent) {
userMentions.add(replyToEvent.sender!.userId); userMentions.add(replyToEvent.sender!.userId);
} }