Add option to subscribe to and pin reply threads (#4680)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -163,7 +163,7 @@ void rebuildReplyThreadHighlight(Settings &settings,
|
||||
const auto & /*senderName*/, const auto & /*originalMessage*/,
|
||||
const auto &flags,
|
||||
const auto self) -> boost::optional<HighlightResult> {
|
||||
if (flags.has(MessageFlag::ParticipatedThread) && !self)
|
||||
if (flags.has(MessageFlag::SubscribedThread) && !self)
|
||||
{
|
||||
return HighlightResult{
|
||||
highlightAlert,
|
||||
|
||||
@@ -210,7 +210,7 @@ void HighlightModel::afterInit()
|
||||
std::vector<QStandardItem *> threadMessageRow = this->createRow();
|
||||
setBoolItem(threadMessageRow[Column::Pattern],
|
||||
getSettings()->enableThreadHighlight.getValue(), true, false);
|
||||
threadMessageRow[Column::Pattern]->setData("Participated Reply Threads",
|
||||
threadMessageRow[Column::Pattern]->setData("Subscribed Reply Threads",
|
||||
Qt::DisplayRole);
|
||||
setBoolItem(threadMessageRow[Column::ShowInMentions],
|
||||
getSettings()->showThreadHighlightInMentions.getValue(), true,
|
||||
|
||||
Reference in New Issue
Block a user