   , [message._id]
   historified = history ? message
   [editTitle, setEditTitle] = useState()
+  [editBody, setEditBody] = useState()
+  [editStopping, setEditStopping] = useState()
+  safeToStopEditing = ->
+    message.title == editTitle and message.body == editBody
+  useEffect ->
+    if editStopping and safeToStopEditing()
+      Meteor.call 'messageEditStop', message._id, (error, result) ->
+        if error?
+          console.error error
+        else
+          setEditStopping false
+    undefined
   preview = useTracker ->
     history? or
     messagePreview.get(message._id) ? messagePreviewDefault()

                    Stop Editing
                  </button>
                else
                  <button className="btn btn-info editButton">
                    Stop Editing
                  </button>
                }

editingMessage = (message, user = Meteor.user()) ->
  user? and user.username in (message.editing ? [])

idle = 1000   ## one second

messageClass = ->
