Fix wrong table name
This commit is contained in:
parent
d36c13a853
commit
d16f5d972a
|
@ -100,9 +100,9 @@ class Event {
|
|||
static Future<List<Event>> getEventList(Client matrix, String roomID) async{
|
||||
List<Map<String, dynamic>> eventRes = await matrix.store.db.rawQuery(
|
||||
"SELECT * " +
|
||||
" FROM Events events, Memberships memberships " +
|
||||
" FROM Events events, Participants participants " +
|
||||
" WHERE events.chat_id=?" +
|
||||
" AND events.sender=memberships.matrix_id " +
|
||||
" AND events.sender=participants.matrix_id " +
|
||||
" GROUP BY events.id " +
|
||||
" ORDER BY origin_server_ts DESC",
|
||||
[roomID]);
|
||||
|
|
Loading…
Reference in a new issue