From 7c60905ee7bed94e600018146fe309a295673af8 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 19 Aug 2014 15:52:10 +0100 Subject: [PATCH] Default from param to 'END' --- synapse/api/streams/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/api/streams/__init__.py b/synapse/api/streams/__init__.py index 44f4cc607..d831eafba 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', }