summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-30 11:50:15 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-30 11:50:15 +0000
commit4a67834bc84f604605c618049599f4638434c7cf (patch)
tree8afccc3b3f2bbc61dfe28567ea8723a36a2b3a25 /synapse/rest
parentFix token formatting (diff)
downloadsynapse-4a67834bc84f604605c618049599f4638434c7cf.tar.xz
Pass client info to the sync_config
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index 46ea50d118..81d5cf8ead 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -123,7 +123,7 @@ class SyncRestServlet(RestServlet):
 
         sync_config = SyncConfig(
             user=user,
-            device="TODO",  # TODO(mjark) Get the device_id from access_token
+            client_info=client,
             gap=gap,
             limit=limit,
             sort=sort,