     getInitialState: ->
         edited_message  : @newest_content()
         history_size    : @props.message.get('history').size
+        show_history    : false
         new_changes     : false
 
     componentWillReceiveProps: (newProps) ->
-        #if @props.edited_input != newProps.edited_input
-        #    @props.actions.set_edited_input()
-        #if @refs.editedMessage
-        #    @setState(edited_message: @refs.editedMessage.getValue())
-        #console.log('component will receive props is called')
         if @state.history_size != @props.message.get('history').size
             @setState(history_size:@props.message.get('history').size)
         changes = false

        text ?= "Last edit by #{@props.editor_name}"
        color ?= "#888"

        if not @is_editing() and other_editors.size == 0 and @newest_content() != ''
            edit = "Last edit "
            name = " by #{@props.editor_name}"
            <div className="pull-left small" style={color:color, marginTop:'-8px', marginBottom:'1px'}>
                {edit}
                <TimeAgo date={new Date(@props.message.get('history').peek()?.get('date'))} />
                {name}
            </div>
        else
            <div className="pull-left small" style={color:color, marginTop:'-8px', marginBottom:'1px'}>
                {text}
            </div>


                        x.history = immutable.Stack([initial])
                    if not x.editing
                        x.editing = {}
                    v[x.date - 0] = x

                actions.setState(messages : immutable.fromJS(v))
