       .on 'RenderMachines',            @bound 'renderMachines'
       .on 'MachineBeingDestroyed',     @bound 'invalidateWorkspaces'
 
-
     @on 'MoreWorkspaceModalRequested', @bound 'handleMoreWorkspacesClick'
 
   # event handling


class ActivitySidebar extends KDCustomHTMLView


  typeMap =
    privatemessage : 'Message'
    topic          : 'Topic'
    post           : 'Post'
    chat           : 'Chat'


  slugProps =
    SocialMessage : 'slug'

  # when a comment is added to a post
  replyAdded: (update) ->

    {socialapi}   = KD.singletons
    {unreadCount} = update
    {id}          = update.channelMessage
    type          = 'post'

    # so we fetch respectively
    socialapi.cacheable type, id, (err, data) =>
