Skip to content
Snippets Groups Projects
Verified Commit 604a2ec9 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

fix server mention rule support check

parent da86fe09
Branches reportContent
No related tags found
No related merge requests found
Pipeline #5805 failed
......@@ -474,7 +474,7 @@ PushRuleEvaluator::PushRuleEvaluator(const Ruleset &rules_)
// work on all servers for now.
bool server_supports_mentions = false;
for (const auto &r : rules_.override_) {
if (r.rule_id == " .m.rule.is_user_mention") {
if (r.rule_id == ".m.rule.is_user_mention") {
server_supports_mentions = true;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment