feat: Add Setting to Hide Reply Context (#4224)

This commit is contained in:
nerix
2022-12-07 22:02:54 +01:00
committed by GitHub
parent 4fdcac8ec5
commit ff54b4c8d2
5 changed files with 19 additions and 5 deletions
@@ -74,6 +74,11 @@ int stripLeadingReplyMention(const QVariantMap &tags, QString &content)
{
return 0;
}
if (getSettings()->hideReplyContext)
{
// Never strip reply mentions if reply contexts are hidden
return 0;
}
if (const auto it = tags.find("reply-parent-display-name");
it != tags.end())