 
         @getDelegate().emit 'ChatMessageSent', chatMsg
 
-    @recipient = new MentionAutoCompleteController
-      name                : "recipient"
+    @mentionController = new MentionAutoCompleteController
+      view                : @input
       itemClass           : MemberAutoCompleteItemView
       form                : @
       itemDataPath        : "profile.nickname"

      submitValuesAsText  : yes
      dataSource          : (args, callback)=>
        {inputValue} = args
        blacklist = (data.getId() for data in @recipient.getSelectedItemData())
        @getDelegate().propagateEvent KDEventType : "AutoCompleteNeedsMemberData", {inputValue,blacklist,callback}

    @recipientAutoComplete = @recipient.getView()

  viewAppended: ->
    @setTemplate @pistachio()

      title: "Send"
      style: "clean-gray inside-button"
      callback: =>
        input = @mentionController.getView()
        chatMsg = input.getValue()

        input.setValue ""
