diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2021-12-29 22:13:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-29 22:13:09 +0900 |
| commit | e159f1560018361de573c182b085c5aa12dc7840 (patch) | |
| tree | 77991bbe94b0d6dce66965f4d9c5989f0f502dfa /packages/client/src/components/note-detailed.vue | |
| parent | 12.101.1 (diff) | |
| download | misskey-e159f1560018361de573c182b085c5aa12dc7840.tar.gz misskey-e159f1560018361de573c182b085c5aa12dc7840.tar.bz2 misskey-e159f1560018361de573c182b085c5aa12dc7840.zip | |
enhance: pizzaxでstreamingのuser storage updateイベントを監視して更新 (#8095)
* wip
* wip?
* ?
* streamingのuser storage updateイベントを監視して更新
* 必要な時以外はストレージを更新しない
* fix?
* wip
* fix
* fix
Diffstat (limited to 'packages/client/src/components/note-detailed.vue')
| -rw-r--r-- | packages/client/src/components/note-detailed.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/client/src/components/note-detailed.vue b/packages/client/src/components/note-detailed.vue index 55a02f1e73..a5cb2f0426 100644 --- a/packages/client/src/components/note-detailed.vue +++ b/packages/client/src/components/note-detailed.vue @@ -140,6 +140,7 @@ import { checkWordMute } from '@/scripts/check-word-mute'; import { userPage } from '@/filters/user'; import { notePage } from '@/filters/note'; import * as os from '@/os'; +import { stream } from '@/stream'; import { noteActions, noteViewInterruptors } from '@/store'; import { reactionPicker } from '@/scripts/reaction-picker'; import { extractUrlFromMfm } from '@/scripts/extract-url-from-mfm'; @@ -260,7 +261,7 @@ export default defineComponent({ async created() { if (this.$i) { - this.connection = os.stream; + this.connection = stream; } this.muted = await checkWordMute(this.appearNote, this.$i, this.$store.state.mutedWords); |