summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-28 17:32:41 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-28 17:32:49 +0000
commitc81a19552f12a16591ae695fa1ef660f9e38730e (patch)
treed596c070a5d8220515c91ebc9b54e6fec31e2d6e /synapse/rest/client
parentMerge branch 'develop' into client_v2_sync (diff)
downloadsynapse-c81a19552f12a16591ae695fa1ef660f9e38730e.tar.xz
Add ports back to demo/start.sh
Diffstat (limited to 'synapse/rest/client')
-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 0c17208cd3..a0ab9839a6 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -80,7 +80,7 @@ class SyncRestServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request):
-        user = yield self.auth.get_user_by_req(request)
+        user, client = yield self.auth.get_user_by_req(request)
 
         timeout = self.parse_integer(request, "timeout", default=0)
         limit = self.parse_integer(request, "limit", required=True)