Skip to content

Commit

Permalink
[FIX] Message updating by Apps (RocketChat#13294)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored and Montel committed Feb 13, 2019
1 parent 36d4916 commit f732b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-apps/server/converters/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class AppMessagesConverter {
}

convertById(msgId) {
const msg = RocketChat.models.Messages.getOneById(msgId);
const msg = RocketChat.models.Messages.findOneById(msgId);

return this.convertMessage(msg);
}
Expand Down

0 comments on commit f732b39

Please sign in to comment.