1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-28 09:34:05 +00:00

fix neko dialog filter

This commit is contained in:
luvletter2333 2022-07-10 14:03:25 +08:00
parent a3e489c2f9
commit de2d16705a
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

@ -2509,12 +2509,13 @@ public class MessagesStorage extends BaseController {
dialogFiltersMap.put(filter.id, filter);
filtersById.put(filter.id, filter);
SQLitePreparedStatement state = database.executeFast("REPLACE INTO dialog_filter VALUES(?, ?, ?, ?, ?)");
SQLitePreparedStatement state = database.executeFast("REPLACE INTO dialog_filter_neko VALUES(?, ?, ?, ?, ?, ?)");
state.bindInteger(1, filter.id);
state.bindInteger(2, filter.order);
state.bindInteger(3, filter.unreadCount);
state.bindInteger(4, filter.flags);
state.bindString(5, filter.name);
state.bindNull(6);
state.stepThis().dispose();
}