Skip to content
Snippets Groups Projects
Commit f6d9548e authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge branch 'master' into develop

parents e2a90966 d863c91e
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,8 @@ Meteor.methods ...@@ -45,6 +45,8 @@ Meteor.methods
_id: tempid _id: tempid
, ,
$set: message $set: message
room = RocketChat.models.Rooms.findOneById message.rid
Meteor.defer -> Meteor.defer ->
RocketChat.callbacks.run 'afterSaveMessage', RocketChat.models.Messages.findOneById(tempid) RocketChat.callbacks.run 'afterSaveMessage', RocketChat.models.Messages.findOneById(tempid), room
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