diff --git a/webpack/lib/content-controller.js b/webpack/lib/content-controller.js index 521d43c..6e034f5 100644 --- a/webpack/lib/content-controller.js +++ b/webpack/lib/content-controller.js @@ -396,6 +396,10 @@ export default class ContentController{ new Notification(title, { body: body }); } + // 9. If not self on current channel -> notification sound + if( room.messages.length > 0 && room.messages[0].uid !== auth.user.uid && ri === gs.get.content.rid ) + AudioManager.pop(); + }