                      is_next_sender   = {is_next_message_sender(i, k, @props.messages)}
                      show_avatar      = {not is_next_message_sender(i, k, @props.messages)}
                      sender_name      = {sender_name}
-                    />)
-
+                    />
         return v
 
     render: ->


    avatar_column: ->
        account = @props.user_map?.get(@props.message.get('sender_id'))?.toJS()
        if account? and @props.show_avatar # TODO: do something better when we don't know the user (or when sender account_id is bogus)
            <Col key={0} xs={1} style={display:"inline-block", verticalAlign:"middle", marginTop:'15px'}>
                <Avatar account={account} />
            </Col>
        else
            <Col key={0} xs={1} style={{display:"inline-block", verticalAlign:"middle"}}>
            </Col>

    content_column: ->
        value = @props.message.get('payload')?.get('content') ? ''
        if @sender_is_viewer()
            color = '#f5f5f5'
        else

        marginTop    : "5px"

    scroll_to_bottom: ->
        if @refs.log_container?
            node = ReactDOM.findDOMNode(@refs.log_container)
            node.scrollTop = node.scrollHeight
            @props.redux.getActions(@props.name).save_position(node.scrollTop)
            @_scrolled = false

    scroll_to_position: ->
        if @refs.log_container?
            @_scrolled = true
            node = ReactDOM.findDOMNode(@refs.log_container)
            node.scrollTop = @props.position

    on_scroll: (e) ->
        @_scrolled = true
        node = ReactDOM.findDOMNode(@refs.log_container)
        @props.redux.getActions(@props.name).save_position(node.scrollTop)
