enhance(frontend): バックグラウンドでチャットメッセージが届いたときにサウンドを再生できるように
This commit is contained in:
parent
2370b55a27
commit
72734fe365
|
@ -380,7 +380,7 @@ export async function mainBoot() {
|
||||||
|
|
||||||
main.on('newChatMessage', () => {
|
main.on('newChatMessage', () => {
|
||||||
updateCurrentAccountPartial({ hasUnreadChatMessages: true });
|
updateCurrentAccountPartial({ hasUnreadChatMessages: true });
|
||||||
sound.playMisskeySfx('chat');
|
sound.playMisskeySfx('chatMessage');
|
||||||
});
|
});
|
||||||
|
|
||||||
main.on('readAllAnnouncements', () => {
|
main.on('readAllAnnouncements', () => {
|
||||||
|
|
Loading…
Reference in New Issue