diff options
author | Krombel <krombel@krombel.de> | 2017-07-10 17:34:58 +0200 |
---|---|---|
committer | Krombel <krombel@krombel.de> | 2017-07-10 17:34:58 +0200 |
commit | 2f82de18eec5b9457ce31d95a080bc8b0fe8e139 (patch) | |
tree | 44be1e699089468a8a27e5f38157564a1f4b7cfd /synapse/rest/client/v2_alpha/sync.py | |
parent | encode sync-response statically; omit empty objects from sync-response (diff) | |
download | synapse-2f82de18eec5b9457ce31d95a080bc8b0fe8e139.tar.xz |
fix test
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index fc4d7d7dff..31db47eba0 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -164,7 +164,9 @@ class SyncRestServlet(RestServlet): ) time_now = self.clock.time_msec() - response_content = self.encode_response(time_now, sync_result, requester.access_token_id, filter) + response_content = self.encode_response( + time_now, sync_result, requester.access_token_id, filter + ) defer.returnValue((200, response_content)) |