1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
lukebarnard
2018-01-05 20:05:12 +00:00
parent ca0ed50172
commit e2e5f80298

View File

@@ -95,7 +95,9 @@ function PushProcessor(client) {
rawrule.conditions.push({
'kind': 'event_match',
'key': 'content.body',
'regex': new RegExp('(^|\\W)' + globToRegexp(tprule.pattern) + '(\\W|$)'),
'regex': new RegExp(
'(^|\\W)' + globToRegexp(tprule.pattern) + '(\\W|$)',
),
});
break;
}