     appManager.tell 'Activity', 'edit', { id: activity.id, body, payload }, (err, message) =>
 
       if err
-        return @showError err, userMessage : 'You are not allowed to edit this post.'
+        err.message = 'You are not allowed to edit this post.'  unless err.message
+        return @showError err
 
       activity.body = body
       activity.link = payload


  showError: (err, options = {}) ->

    showErrorNotification err, options

    @unlockSubmit()



showError               = require 'app/util/showError'
generateDummyMessage    = require 'app/util/generateDummyMessage'
generateFakeIdentifier  = require 'app/util/generateFakeIdentifier'
isLoggedIn              = require 'app/util/isLoggedIn'
SuggestionMenuView      = require 'activity/components/suggestionmenu/view'
ActivityFlux            = require 'activity/flux'
