diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-11 10:07:27 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-11 10:07:27 +0000 |
commit | 0eff7405239c794d4c000ee93c0e38a87ea2b1bd (patch) | |
tree | 9bf22f9ed7cc823c744b490789811309870f0190 /synapse/handlers | |
parent | Add some paranoia logging (diff) | |
download | synapse-0eff7405239c794d4c000ee93c0e38a87ea2b1bd.tar.xz |
Return events in correct order for /events
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index a8e3a9029c..b2de2cd0c0 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -1061,6 +1061,7 @@ class RoomEventSource(object): from_key=from_key, to_key=to_key, limit=limit or 10, + order='ASC', ) events = list(room_events) |