mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix CancelFriendRequest typo
This commit is contained in:
@@ -14731,7 +14731,7 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
var friendLogHistory = {
|
var friendLogHistory = {
|
||||||
created_at: new Date().toJSON(),
|
created_at: new Date().toJSON(),
|
||||||
type: 'CancelFriendRequst',
|
type: 'CancelFriendRequest',
|
||||||
userId: ref.id,
|
userId: ref.id,
|
||||||
displayName: ref.displayName
|
displayName: ref.displayName
|
||||||
};
|
};
|
||||||
@@ -27389,7 +27389,7 @@ speechSynthesis.getVoices();
|
|||||||
);
|
);
|
||||||
|
|
||||||
$app.methods.updateDatabaseVersion = async function () {
|
$app.methods.updateDatabaseVersion = async function () {
|
||||||
var databaseVersion = 8;
|
var databaseVersion = 9;
|
||||||
if (this.databaseVersion < databaseVersion) {
|
if (this.databaseVersion < databaseVersion) {
|
||||||
if (this.databaseVersion) {
|
if (this.databaseVersion) {
|
||||||
var msgBox = this.$message({
|
var msgBox = this.$message({
|
||||||
@@ -27411,6 +27411,7 @@ speechSynthesis.getVoices();
|
|||||||
await database.updateTableForGroupNames(); // alter tables to include group name
|
await database.updateTableForGroupNames(); // alter tables to include group name
|
||||||
await database.fixBrokenNotifications(); // fix notifications being null
|
await database.fixBrokenNotifications(); // fix notifications being null
|
||||||
await database.fixBrokenGroupChange(); // fix spam group left & name change
|
await database.fixBrokenGroupChange(); // fix spam group left & name change
|
||||||
|
await database.fixCancelFriendRequestTypo(); // fix CancelFriendRequst typo
|
||||||
await database.vacuum(); // succ
|
await database.vacuum(); // succ
|
||||||
await database.setWal(); // https://www.sqlite.org/wal.html
|
await database.setWal(); // https://www.sqlite.org/wal.html
|
||||||
await configRepository.setInt(
|
await configRepository.setInt(
|
||||||
|
|||||||
@@ -2610,6 +2610,12 @@ class Database {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async fixCancelFriendRequestTypo() {
|
||||||
|
await sqliteService.executeNonQuery(
|
||||||
|
`UPDATE ${Database.userPrefix}_friend_log_history SET type = 'CancelFriendRequest' WHERE type = 'CancelFriendRequst'`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
async vacuum() {
|
async vacuum() {
|
||||||
await sqliteService.executeNonQuery('VACUUM');
|
await sqliteService.executeNonQuery('VACUUM');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user