mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 09:34:08 -04:00
Add an additional HTTP pusher + push rule tests. (#12188)
And rename the field used for caching from _id to _cache_key.
This commit is contained in:
parent
003cc6910a
commit
735e89bd3a
5 changed files with 95 additions and 28 deletions
|
@ -40,7 +40,7 @@ def format_push_rules_for_user(
|
|||
|
||||
# Remove internal stuff.
|
||||
for c in r["conditions"]:
|
||||
c.pop("_id", None)
|
||||
c.pop("_cache_key", None)
|
||||
|
||||
pattern_type = c.pop("pattern_type", None)
|
||||
if pattern_type == "user_id":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue