Skip to content

Commit 2e66eae

Browse files
committed
Enable intentional mentions on reply
1 parent 4ec4a7b commit 2e66eae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/windows/room/chat.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,14 +566,14 @@ impl ChatState {
566566
show_echo = false;
567567
} else if let Some(thread_root) = self.scrollback.thread() {
568568
if let Some(m) = self.get_reply_to(info) {
569-
msg = msg.make_for_thread(m, ReplyWithinThread::Yes, AddMentions::No);
569+
msg = msg.make_for_thread(m, ReplyWithinThread::Yes, AddMentions::Yes);
570570
} else if let Some(m) = info.get_thread_last(thread_root) {
571-
msg = msg.make_for_thread(m, ReplyWithinThread::No, AddMentions::No);
571+
msg = msg.make_for_thread(m, ReplyWithinThread::No, AddMentions::Yes);
572572
} else {
573573
// Internal state is wonky?
574574
}
575575
} else if let Some(m) = self.get_reply_to(info) {
576-
msg = msg.make_reply_to(m, ForwardThread::Yes, AddMentions::No);
576+
msg = msg.make_reply_to(m, ForwardThread::Yes, AddMentions::Yes);
577577
}
578578

579579
// XXX: second parameter can be a locally unique transaction id.

0 commit comments

Comments
 (0)