 
     currentMessageMoment = moment currentMessage.get 'createdAt'
 
-    { messages, unreadCount } = @props
+    { messages, unreadCount, channelId, isMessagesLoading } = @props
     newMessageIndex = messages.size - unreadCount
 
     if prevMessage

SimpleChatListItem = require 'activity/components/chatlistitem/simplechatlistitem'
DateMarker         = require 'activity/components/datemarker'
NewMessageMarker   = require 'activity/components/newmessagemarker'
KDReactorMixin     = require 'app/flux/reactormixin'
ActivityFlux       = require 'activity/flux'
scrollToElement    = require 'app/util/scrollToElement'

  @defaultProps =
    messages          : immutable.List()
    showItemMenu      : yes
    channelId         : ''
    channelName       : ''
    isMessagesLoading : no
    selectedMessageId : null
