1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-04-09 04:59:34 -05:00
This commit is contained in:
syuilo 2025-03-20 15:09:50 +09:00
parent 8d8414687a
commit 6a90b7e04b

View file

@ -32,6 +32,8 @@ export type SoundStore = {
// NOTE: デフォルト値は他の設定の状態に依存してはならない(依存していた場合、ユーザーがその設定項目単体で「初期値にリセット」した場合不具合の原因になる)
export const PREF_DEF = {
// TODO: 持つのはホストやユーザーID、ユーザー名など最低限にしといて、その他のプロフィール情報はpreferences外で管理した方が綺麗そう
// 現状だと、updateCurrentAccount/updateCurrentAccountPartialが呼ばれるたびに「設定」へのcommitが行われて不自然(明らかに設定の更新とは捉えにくい)だし
accounts: {
default: [] as [host: string, user: Misskey.entities.User][],
},