Skip to content

Commit

Permalink
Merge branch 'develop' into fix/dispatch-action-config
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Sep 5, 2024
2 parents 7e0bdb6 + 3ba1854 commit d49b8fa
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 d49b8fa

Please sign in to comment.