Skip to content

Commit

Permalink
[FIX] Direct messages leaking into logs (#11863)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudell authored and sampaiodiego committed Sep 13, 2018
1 parent 4cca609 commit 485111d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/rocketchat-api/server/v1/im.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ RocketChat.API.v1.addRoute(['dm.messages', 'im.messages'], { authRequired: true
const { offset, count } = this.getPaginationItems();
const { sort, fields, query } = this.parseJsonQuery();

console.log(findResult);
const ourQuery = Object.assign({}, query, { rid: findResult.room._id });

const messages = RocketChat.models.Messages.find(ourQuery, {
Expand Down

0 comments on commit 485111d

Please sign in to comment.