Return events in correct order for /events

This commit is contained in:
Erik Johnston 2016-02-11 10:07:27 +00:00
parent a1b7902944
commit 0eff740523
2 changed files with 12 additions and 8 deletions

View file

@ -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)