diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-20 21:06:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-20 21:06:26 +0900 |
| commit | 0d1158335f61e51feff5da41ad24e858ca2c5156 (patch) | |
| tree | b9448da41eb66b37ab79b5315e790ecb8dead3b7 /src/client | |
| parent | Fix style (diff) | |
| download | misskey-0d1158335f61e51feff5da41ad24e858ca2c5156.tar.gz misskey-0d1158335f61e51feff5da41ad24e858ca2c5156.tar.bz2 misskey-0d1158335f61e51feff5da41ad24e858ca2c5156.zip | |
Chat UIでサウンドがならない問題を修正
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/ui/chat/timeline.vue | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/client/ui/chat/timeline.vue b/src/client/ui/chat/timeline.vue index 2a74584e65..2f0e571ef0 100644 --- a/src/client/ui/chat/timeline.vue +++ b/src/client/ui/chat/timeline.vue @@ -61,11 +61,6 @@ export default defineComponent({ type: String, required: false }, - sound: { - type: Boolean, - required: false, - default: false, - } }, emits: ['note', 'queue', 'before', 'after'], @@ -95,9 +90,7 @@ export default defineComponent({ this.$emit('note'); - if (this.sound) { - sound.play(note.userId === this.$i.id ? 'noteMy' : 'note'); - } + sound.play(note.userId === this.$i.id ? 'noteMy' : 'note'); }; const onUserAdded = () => { |