Skip to content

Commit

Permalink
added sounds back
Browse files Browse the repository at this point in the history
  • Loading branch information
engelgabriel committed Jul 24, 2015
1 parent 80f6cbc commit cbfa52c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/startup/unread.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Meteor.startup ->

ChatSubscription.find({}, { fields: { unread: 1 } }).observeChanges
changed: (id, fields) ->
if fields.unread and fields.unread > 0
KonchatNotification.newMessage()

Meteor.startup ->

Tracker.autorun ->
Expand Down

0 comments on commit cbfa52c

Please sign in to comment.