Fix comment
parent
8d654d66ef
commit
002ee7bfd6
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue