1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-01 00:08:24 +09:00

add comment

This commit is contained in:
tamaina 2022-01-05 01:25:34 +09:00
parent 52840faa85
commit 418d936044

View File

@ -91,6 +91,8 @@ export class Storage<T extends StateDef> {
}
this.pizzaxChannel.addEventListener('message', ({ where, key, value, userId }) => {
// アカウント変更すればunisonReloadが効くため、このreturnが発火することは
// まずないと思うけど一応弾いておく
if (where === 'deviceAccount' && !($i && userId !== $i.id)) return;
this.state[key] = value;
this.reactiveState[key].value = value;