Skip to content

Commit 60d410b

Browse files
committed
Log the message to the console before notifying
1 parent f2d1b16 commit 60d410b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/assets/javascripts/backbone/helpers/utils.js.coffee

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ class Kandan.Helpers.Utils
44
@browserTabFocused: true
55

66
@notifyInTitleIfRequired: (activityAttributes) ->
7+
console.log(activityAttributes)
8+
79
if Kandan.Data.Channels.activeChannelId() == activityAttributes.channel_id and activityAttributes.action == "message" and @browserTabFocused != true
810
Kandan.Plugins.MusicPlayer.playAudioNotice()
911
@unreadActivities += 1

0 commit comments

Comments
 (0)