 ImmutableRenderMixin  = require 'react-immutable-render-mixin'
 MessageLink           = require 'activity/components/publicchannelmessagelink'
 EmbedBox              = require 'activity/components/embedbox'
+KeyboardKeys          = require 'app/util/keyboardKeys'
 
 module.exports = class ChatListItem extends React.Component
 


  cancelEdit: ->

    messageId = @props.message.get '_id'
    ActivityFlux.actions.message.unsetMessageEditMode messageId



  updateMessage: ->

    return @deletePostButtonHandler()  if @state.isDeleting

    name  = @props.channelName
    value = @state.editInputValue
    messageId = @props.message.get '_id'
