Patch empty appData
This commit is contained in:
@ -77,6 +77,12 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
|
|||||||
if (v.type === LoginSessionType.PrivateKey && v.readonly) {
|
if (v.type === LoginSessionType.PrivateKey && v.readonly) {
|
||||||
v.readonly = false;
|
v.readonly = false;
|
||||||
}
|
}
|
||||||
|
v.appData ??= {
|
||||||
|
item: {
|
||||||
|
mutedWords: []
|
||||||
|
},
|
||||||
|
timestamp: 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user