 
   handleGlanced: (update) -> @selectedItem?.setUnreadCount? update.unreadCount
 
+  setUnreadCount: (item, data, unreadCount) ->
+
+    return  unless item
+
+    {windowController, appManager} = KD.singletons
+
+    app = appManager.getFrontApp()
+
+    if app.getOption('name') is 'Activity'
+      pane    = app.getView().tabs.getActivePane()
+      channel = pane.getData()
+
+      inCurrentPane = channel.id is data.id
+
+      if inCurrentPane and windowController.isFocused()
+        return pane.glance()
+
+
+    item.setUnreadCount? unreadCount
+
+
 
   handleFollowedFeedUpdate: (update) ->
 


      item = @addItem data, index

      item.setUnreadCount unreadCount


  # when a comment is added to a post

      # and add to the sidebar
      # (if the item is already on sidebar, it's handled on @addItem)
      item = @addItem data, 0
      @setUnreadCount item, data, unreadCount


  accountAddedToChannel: (update) ->
