 
 
   cancelEdit: ->
-
-    return @closeDeletePostModal()  if @state.isDeleting
 
     messageId = @props.message.get '_id'
     ActivityFlux.actions.message.unsetMessageEditMode messageId, @props.channelId, yes


    return null  unless @props.showItemMenu

    <MessageItemMenu message={@props.message}/>


  renderEmbedBox: ->


  updateMessage: ->

    value = @refs.editInput.getValue().trim()

    unless value
      return @refs.MessageItemMenu.showDeletePostPromptModal()

    messageId = @props.message.get '_id'

