diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-18 15:31:04 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-18 15:31:04 +0000 |
commit | 1c960fbb800c00e5787c5c2b90b6b589f90bc474 (patch) | |
tree | db14a460e178e28f1c454927cd7e394fc63bd4a4 /synapse/api | |
parent | Merge pull request #384 from matrix-org/erikj/shorter_retries (diff) | |
download | synapse-1c960fbb800c00e5787c5c2b90b6b589f90bc474.tar.xz |
s/private_user_data/account_data/
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/filtering.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/api/filtering.py b/synapse/api/filtering.py index aaa2433cae..18f2ec3ae8 100644 --- a/synapse/api/filtering.py +++ b/synapse/api/filtering.py @@ -54,7 +54,7 @@ class Filtering(object): ] room_level_definitions = [ - "state", "timeline", "ephemeral", "private_user_data" + "state", "timeline", "ephemeral", "account_data" ] for key in top_level_definitions: @@ -131,8 +131,8 @@ class FilterCollection(object): self.filter_json.get("room", {}).get("ephemeral", {}) ) - self.room_private_user_data = Filter( - self.filter_json.get("room", {}).get("private_user_data", {}) + self.room_account_data = Filter( + self.filter_json.get("room", {}).get("account_data", {}) ) self.presence_filter = Filter( @@ -160,8 +160,8 @@ class FilterCollection(object): def filter_room_ephemeral(self, events): return self.room_ephemeral_filter.filter(events) - def filter_room_private_user_data(self, events): - return self.room_private_user_data.filter(events) + def filter_room_account_data(self, events): + return self.room_account_data.filter(events) class Filter(object): |