mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-28 06:48:32 +09:00
Chat UIでサウンドがならない問題を修正
This commit is contained in:
parent
9860489f88
commit
0d1158335f
@ -61,11 +61,6 @@ export default defineComponent({
|
|||||||
type: String,
|
type: String,
|
||||||
required: false
|
required: false
|
||||||
},
|
},
|
||||||
sound: {
|
|
||||||
type: Boolean,
|
|
||||||
required: false,
|
|
||||||
default: false,
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
emits: ['note', 'queue', 'before', 'after'],
|
emits: ['note', 'queue', 'before', 'after'],
|
||||||
@ -95,9 +90,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
this.$emit('note');
|
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 = () => {
|
const onUserAdded = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user