mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 07:13:51 +02:00
Group name in instance link
This commit is contained in:
@@ -1752,9 +1752,15 @@ class Database {
|
||||
}
|
||||
|
||||
async fixBrokenGroupInvites() {
|
||||
await sqliteService.executeNonQuery(
|
||||
`DELETE FROM ${Database.userPrefix}_notifications WHERE type LIKE '%.%'`
|
||||
);
|
||||
var notificationTables = [];
|
||||
await sqliteService.execute((dbRow) => {
|
||||
notificationTables.push(dbRow[0]);
|
||||
}, `SELECT name FROM sqlite_schema WHERE type='table' AND name LIKE '%_notifications'`);
|
||||
notificationTables.forEach((tableName) => {
|
||||
sqliteService.executeNonQuery(
|
||||
`DELETE FROM ${tableName} WHERE type LIKE '%.%'`
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user