summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sync.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-11-18 15:31:04 +0000
committerMark Haines <mark.haines@matrix.org>2015-11-18 15:31:04 +0000
commit1c960fbb800c00e5787c5c2b90b6b589f90bc474 (patch)
treedb14a460e178e28f1c454927cd7e394fc63bd4a4 /synapse/rest/client/v2_alpha/sync.py
parentMerge pull request #384 from matrix-org/erikj/shorter_retries (diff)
downloadsynapse-1c960fbb800c00e5787c5c2b90b6b589f90bc474.tar.xz
s/private_user_data/account_data/
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index efd8281558..8ac16f2a3c 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -282,8 +282,8 @@ class SyncRestServlet(RestServlet):
             )
             timeline_event_ids.append(event.event_id)
 
-        private_user_data = filter.filter_room_private_user_data(
-            room.private_user_data
+        account_data = filter.filter_room_account_data(
+            room.account_data
         )
 
         result = {
@@ -294,7 +294,7 @@ class SyncRestServlet(RestServlet):
                 "limited": room.timeline.limited,
             },
             "state": {"events": state_event_ids},
-            "private_user_data": {"events": private_user_data},
+            "account_data": {"events": account_data},
         }
 
         if joined: