       KDEventTypes: 'MessageShouldBeDisowned'
       listener    : @
       callback    : do=>
-        disownAll =(items, callback)->
+        disownAll = (items, callback)->
           disownItem = race (i, item, fin)->
             item.data.disown (err)->
               if err

                fin()
          , callback
          disownItem item for own id, item of items
        =>
          disownAll @selection, =>
            for own id, {item, paneView} of @selection
              item.destroy()
              paneView.destroy()
              @deselectMessages()
  
    newMessageBar.registerListener
      KDEventTypes: 'MessageShouldBeMarkedAsUnread'

    @selection = {}
  
  sendMessage:(messageDetails, callback)->
    log "I just send a new message: ", messageDetails
    bongo.api.JPrivateMessage.create messageDetails, callback
  
  prepareMessage:(formOutput, callback)=>
