         @input.input.setPlaceholder ''
         @scrollDown()
 
-
-    @listController.getListView().on 'ItemWasAdded', @bound 'messageAdded'
-    @listController.getListView().on 'ItemWasRemoved', @bound 'messageRemoved'
-    @listController.getListView().on 'EditMessageReset', @input.bound 'focus'
+    list = @listController.getListView()
+
+    list.on 'ItemWasAdded',     @bound 'messageAdded'
+    list.on 'ItemWasRemoved',   @bound 'messageRemoved'
+    list.on 'EditMessageReset', @input.bound 'focus'
 
     KD.singleton('windowController').on 'ScrollHappened', @bound 'handleScroll'
 


  replaceFakeItemView: (message) ->
    index = @listController.getListView().getItemIndex @fakeMessageMap[message.clientRequestId]
    item = @putMessage message, index
    @removeFakeMessage message.clientRequestId
    @scrollDown item



    super channel

    channel.on 'AddedToChannel', @bound 'addParticipant'





  # this is the realtime event handler for messages
  addMessage: (message) ->

    return  if message.account._id is KD.whoami()._id
