       channel.emit 'update'
 
       item = @addItem channel, 2
-      item.setUnreadCount unreadCount
+      @setUnreadCount item, channel, unreadCount
 
 
   accountRemovedFromChannel: (update) ->


  handleGlanced: (update) -> @selectedItem?.setUnreadCount? update.unreadCount


  handleFollowedFeedUpdate: (update) ->



      item = @addItem data, index

      @setUnreadCount item, data, unreadCount


  # when a comment is added to a post
