Don't split at word boundaries, actually use regex

This commit is contained in:
Erik Johnston 2016-01-18 16:48:17 +00:00
parent d16dcf642e
commit 29c353c553
2 changed files with 46 additions and 61 deletions

View file

@ -81,7 +81,7 @@ class BulkPushRuleEvaluator:
users_dict.items(), [event]
)
evaluator = PushRuleEvaluatorForEvent.create(event, len(self.users_in_room))
evaluator = PushRuleEvaluatorForEvent(event, len(self.users_in_room))
condition_cache = {}