diff --git a/lib/src/Store.dart b/lib/src/Store.dart index a2520f8..d3f8a06 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -340,11 +340,7 @@ class Store { /// Returns a list of events for the given room and sets all participants. Future> getEventList(Room room) async { List> eventRes = await db.rawQuery( - "SELECT * " + - " FROM Events " + - " WHERE room_id=?" + - " GROUP BY id " + - " ORDER BY origin_server_ts DESC", + "SELECT * " + " FROM Events " + " WHERE room_id=?" + " GROUP BY id", [room.id]); List eventList = [];