0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-26 08:13:43 +01:00
dendrite/internal/pushrules
Neil Alexander f009e54181
Push rule evaluation tweaks (#2897)
This tweaks push rule evaluation:

1. to be more strict around pattern matching and to not match empty
patterns
3. to bail if we come across a `dont_notify`, since cycles after that
are wasted
4. refactors `ActionsToTweaks` to make a bit more sense
2022-11-30 12:54:37 +00:00
..
action.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
action_test.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
condition.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
default.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
default_content.go Update getting pushrules, add tests, tweak pushrules (#2705) 2022-09-09 13:56:33 +02:00
default_override.go Update getting pushrules, add tests, tweak pushrules (#2705) 2022-09-09 13:56:33 +02:00
default_underride.go Update getting pushrules, add tests, tweak pushrules (#2705) 2022-09-09 13:56:33 +02:00
evaluate.go Push rule evaluation tweaks (#2897) 2022-11-30 12:54:37 +00:00
evaluate_test.go Push rule evaluation tweaks (#2897) 2022-11-30 12:54:37 +00:00
pushrules.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
util.go Push rule evaluation tweaks (#2897) 2022-11-30 12:54:37 +00:00
util_test.go Push rule evaluation tweaks (#2897) 2022-11-30 12:54:37 +00:00
validate.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
validate_test.go Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00