summary refs log tree commit diff
path: root/synapse/api/streams
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 15:52:10 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 15:52:10 +0100
commit7c60905ee7bed94e600018146fe309a295673af8 (patch)
tree4e161337a305bd4aa56c47f56191dcf1ce6e1dd0 /synapse/api/streams
parentPresenceStreamData was expecting *_key to be ints (diff)
downloadsynapse-7c60905ee7bed94e600018146fe309a295673af8.tar.xz
Default from param to 'END'
Diffstat (limited to 'synapse/api/streams')
-rw-r--r--synapse/api/streams/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/streams/__init__.py b/synapse/api/streams/__init__.py
index 44f4cc6078..d831eafbab 100644
--- a/synapse/api/streams/__init__.py
+++ b/synapse/api/streams/__init__.py
@@ -29,6 +29,7 @@ class PaginationConfig(object):
     @classmethod
     def from_request(cls, request, raise_invalid_params=True):
         params = {
+            "from_tok": "END",
             "direction": 'f',
         }