Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-12-12 01:47:18 +00:00
commit 8d05ee7a33

View file

@ -49,7 +49,7 @@ class VectorPushRuleDefinition {
// The actions must match to the ones expected by vector state.
// Use `decodeActions` on both sides to canonicalize things like
// value: true vs. unspecified for highlight (which defaults to
// true, making them equivalent.
// true, making them equivalent).
if (enabled &&
JSON.stringify(decodeActions(rule.actions)) ===
JSON.stringify(decodeActions(vectorStateToActions))) {