add chat sounds to middleware, expecting meta value of chat

better-alerts
Curtis ROck 2020-09-03 21:51:54 -05:00
rodzic a5ef0f46e5
commit 89f43c3b8b
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -36,6 +36,16 @@ export default function soundsMiddleware() {
type: 'audio/mpeg',
},
]),
chat: createAudio([
{
src: '/sounds/chat.oga',
type: 'audio/ogg',
},
{
src: '/sounds/chat.mp3',
type: 'audio/mpeg',
},
]),
};
return () => next => action => {