 
       { message } = options.lastMessage
 
-      if _isChannelInitiationEvent message
-        { addedBy } = message.payload
-        desktopNotifications.postAddedToChannelNotification channel.name, addedBy, channel.typeConstant
-
-    .on 'NotificationAdded', (options)->
-
-      if options.type is 'mention'
-        desktopNotifications.postMentionedNotification options
-
 
 _isChannelInitiationEvent = (message) ->
   systemType = message.payload?.systemType

  kd.singletons.notificationController
    .on 'MessageAddedToChannel', (payload) ->
      { channel : { id, name, typeConstant }, channelMessage, unreadCount } = payload
      if _isChannelInitiationEvent payload.channelMessage
        { addedBy } = channelMessage.payload

        desktopNotifications.postAddedToChannelNotification name, addedBy, typeConstant

      # TODO: FIXME
      # The reason we are doing these extra fetches is that right now backend

AppFlux              = require 'app/flux'
actions              = require '../actiontypes'
isPublicChannel      = require 'app/util/isPublicChannel'

dispatch = (args...) -> kd.singletons.reactor.dispatch args...

