From 7da106a9c9aececb1f689de1562067856736c452 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 21 Oct 2024 10:31:25 +0200 Subject: [PATCH 1/2] fix: subscribed threads not being marked as subscribed --- src/messages/MessageBuilder.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index db479adf34a..a17f955a996 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -2382,6 +2382,11 @@ void MessageBuilder::parseThread(const QString &messageContent, this->message().replyParent = parent; thread->addToThread(std::weak_ptr{this->message_}); + if (thread->subscribed()) + { + this->message().flags.set(MessageFlag::SubscribedThread); + } + // enable reply flag this->message().flags.set(MessageFlag::ReplyMessage); From a252b18c8a4d40a0968baeb2225615ee22abe172 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 21 Oct 2024 12:15:52 +0200 Subject: [PATCH 2/2] Update changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3555762ced4..c95aa2df7bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -110,7 +110,7 @@ - Dev: Emojis now use flags instead of a set of strings for capabilities. (#5616) - Dev: Move plugins to Sol2. (#5622) - Dev: Refactored static `MessageBuilder` helpers to standalone functions. (#5652) -- Dev: Decoupled reply parsing from `MessageBuilder`. (#5660) +- Dev: Decoupled reply parsing from `MessageBuilder`. (#5660, #5668) - Dev: Refactored IRC message building. (#5663) ## 2.5.1