summary refs log tree commit diff
path: root/synapse/push/clientformat.py
diff options
context:
space:
mode:
authorNick Mills-Barrett <nick@beeper.com>2022-03-11 14:45:26 +0100
committerGitHub <noreply@github.com>2022-03-11 08:45:26 -0500
commit735e89bd3a0755883ef0a19649adf84192b5d9fc (patch)
tree5f00bc3fe43b4d57168aa50217bf807e53471eb8 /synapse/push/clientformat.py
parentUpdate the SSO username picker template to comply with SIWA guidelines (#12210) (diff)
downloadsynapse-735e89bd3a0755883ef0a19649adf84192b5d9fc.tar.xz
Add an additional HTTP pusher + push rule tests. (#12188)
And rename the field used for caching from _id to _cache_key.
Diffstat (limited to 'synapse/push/clientformat.py')
-rw-r--r--synapse/push/clientformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/clientformat.py b/synapse/push/clientformat.py
index c5708cd888..63b22d50ae 100644
--- a/synapse/push/clientformat.py
+++ b/synapse/push/clientformat.py
@@ -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":