Skip to content

Commit

Permalink
regression: remove unnecessary log on notifyUsersOnMessage (#33207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogarim committed Sep 4, 2024
1 parent 200d22b commit 3ba1854
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/meteor/app/lib/server/lib/notifyUsersOnMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ export async function updateThreadUsersSubscriptions(message: IMessage, replies:
}

export async function notifyUsersOnMessage(message: IMessage, room: IRoom, roomUpdater: Updater<IRoom>): Promise<IMessage> {
console.log('notifyUsersOnMessage function');

// Skips this callback if the message was edited and increments it if the edit was way in the past (aka imported)
if (isEditedMessage(message)) {
if (Math.abs(moment(message.editedAt).diff(Date.now())) > 60000) {
Expand Down

0 comments on commit 3ba1854

Please sign in to comment.