We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d1b16 commit 60d410bCopy full SHA for 60d410b
app/assets/javascripts/backbone/helpers/utils.js.coffee
@@ -4,6 +4,8 @@ class Kandan.Helpers.Utils
4
@browserTabFocused: true
5
6
@notifyInTitleIfRequired: (activityAttributes) ->
7
+ console.log(activityAttributes)
8
+
9
if Kandan.Data.Channels.activeChannelId() == activityAttributes.channel_id and activityAttributes.action == "message" and @browserTabFocused != true
10
Kandan.Plugins.MusicPlayer.playAudioNotice()
11
@unreadActivities += 1
0 commit comments