[Store] Fix RoomUpdate storing
This commit is contained in:
parent
92d8ab9206
commit
006c5a756f
|
@ -163,8 +163,7 @@ class Store {
|
|||
Future<void> storeRoomUpdate(RoomUpdate roomUpdate) {
|
||||
// Insert the chat into the database if not exists
|
||||
txn.rawInsert(
|
||||
"INSERT OR IGNORE INTO Rooms " +
|
||||
"VALUES(?, ?, '', 0, 0, 0, 0, '', '', '', '', 0, '', '', '', '', '', '', '', '', 0, 50, 50, 0, 50, 50, 0, 50, 100, 50, 50, 50, 100) ",
|
||||
"INSERT OR IGNORE INTO Rooms " + "VALUES(?, ?, 0, 0, '', 0, 0) ",
|
||||
[roomUpdate.id, roomUpdate.membership.toString().split('.').last]);
|
||||
|
||||
// Update the notification counts and the limited timeline boolean and the summary
|
||||
|
|
Loading…
Reference in a new issue