   componentDidMount: ->
 
     @getAccountInfo()
+
+
+  componentDidUpdate: ->
+
+    @setState editMode: @props.message.get '__isEditing'
 
 
   getAccountInfo: ->


  updateMessage: ->

    @setState editMode: no

    ActivityFlux.actions.message.editMessage(
      @props.message.get('id')

  @defaultProps =
    hover                         : no
    account                       : null
    isDeleting                    : no
    isMenuOpen                    : no
    editInputValue                : ''
