Makes it possible to hide one man spam (#1496)

This commit is contained in:
hemirt
2020-02-02 14:31:37 +01:00
committed by GitHub
parent 497ce2d2f2
commit 1fd64be7f5
9 changed files with 164 additions and 1 deletions
+6
View File
@@ -141,6 +141,12 @@ void MessageLayout::actuallyLayout(int width, MessageElementFlags flags)
continue;
}
if (getSettings()->hideSimilar &&
this->message_->flags.has(MessageFlag::Similar))
{
continue;
}
element->addToContainer(*this->container_, flags);
}