Skip to content

Commit

Permalink
findForUpdates
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Mar 22, 2023
1 parent b1977a2 commit 67c2cc3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions apps/meteor/app/models/server/models/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,19 +212,6 @@ export class Messages extends Base {
return this.find(query, options);
}

findForUpdates(roomId, timestamp, options) {
const query = {
_hidden: {
$ne: true,
},
rid: roomId,
_updatedAt: {
$gt: timestamp,
},
};
return this.find(query, options);
}

findVisibleByRoomIdBeforeTimestampNotContainingTypes(roomId, timestamp, types, options, showThreadMessages = true, inclusive = false) {
const query = {
_hidden: {
Expand Down

0 comments on commit 67c2cc3

Please sign in to comment.