     @updateDate details.time
     @lastMessage = @lastChatItem.message
     @emit "NewChatItemCreated"
-    @scrollToBottom()
 
   appendToChatItem: (params) ->
     {details}  = params

    element = @messages.getElement()
    element.scrollTop = element.scrollHeight

  pistachio: ->
    """
      {{> @dock}}

    params           = { details, ownerNickname, ownerAccount }
    @lastMessageBody = details.body

    if ownerNickname is KD.nick()
    then forceScrollToBottom = yes
    else forceScrollToBottom = @isScrollTopAtBottom()

    if @lastChatItemOwner is ownerNickname
      @appendToChatItem params
      @updateDate details.time
    else
      @createNewChatItem params

    @scrollToBottom()  if forceScrollToBottom

  createNewChatItem: (params) ->
    {details, ownerAccount, ownerNickname} = params
