Skip to content
Snippets Groups Projects
Commit bd19fd9d authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Pass entire message to afterSaveMessage in updateMessage

parent 58b337b0
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,7 @@ Meteor.methods
$set: message
Meteor.defer ->
RocketChat.callbacks.run 'afterSaveMessage', message
RocketChat.callbacks.run 'afterSaveMessage', ChatMessage.findOne(message.id)
deleteMessage: (message) ->
if not Meteor.userId()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment