     @view = options.view
 
   addOnlineUser: (name) ->
-    viewInstance = @view.addRosterItem {name:name, status: "online"}
-    @participants[name] = viewInstance
-    viewInstance
+    bongo.api.JAccount.one "profile.nickname" : name, (err, account)=>
+      viewInstance = @view.addRosterItem account
+      @participants[name] = viewInstance
+      viewInstance
 
   removeOfflineUser: (name) ->
     viewInstance = @participants[name]

    """

class ChannelListItemView extends KDListItemView
  viewAppended: ->
    @setTemplate @pistachio()
    @template.update()

  pistachio: ->
    "<p>{{#(name)}} - {{#(status)}} </p>"

class ChatInputForm extends KDFormView
  constructor: ->
    super
    @input = new KDInputView
      placeholder: "Click here to reply"
      name: "chatInput"
      cssClass: "fl"
      validate      :
        rules       :

    """
    <div class="formline">
      <div>
        {{> @mentionAutoCompleteView}}
        {{> @sendButton}}
      </div>
    </div>
