fix: muted words

This commit is contained in:
2024-04-29 11:22:26 +01:00
parent 08d4a73ca6
commit a17c98ad25
6 changed files with 28 additions and 17 deletions

View File

@ -336,6 +336,20 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
delete acc["tags"];
didMigrate = true;
}
if (acc.state.appdata) {
if ("id" in acc.state.appdata) {
delete acc.state.appdata["id"];
didMigrate = true;
}
if ("mutedWords" in acc.state.appdata) {
delete acc.state.appdata["mutedWords"];
didMigrate = true;
}
if ("showContentWarningPosts" in acc.state.appdata) {
delete acc.state.appdata["showContentWarningPosts"];
didMigrate = true;
}
}
}
if (didMigrate) {