     @setPaddedClassName()
 
 
-  setPaddedClassName: ->
+  setPaddedClassName: (shouldPaddedClass = no) ->
 
     list                        = React.findDOMNode @refs.ChatList
     scrollContainer             = React.findDOMNode @refs.scrollContainer

    return null  unless @props.thread

    messagesSize        = @props.thread.get('messages').size
    reachedFirstMessage = @props.thread.getIn(['flags', 'reachedFirstMessage'])

    # we have always at least one system message
    return null  unless reachedFirstMessage and messagesSize

    <ChannelInfoContainer
      ref='ChannelInfoContainer'

    listHeight                  = list.offsetHeight
    scrollContainerClientHeight = scrollContainer.clientHeight
    channelInfoContainerHeight  = 0

    return scrollContainer.classList.add 'padded' if shouldPaddedClass and scrollContainer

    return  if scrollContainerClientHeight is 0 or listHeight is 0

