Skip to content
Snippets Groups Projects
Unverified Commit 3ba18544 authored by Ricardo Garim's avatar Ricardo Garim Committed by GitHub
Browse files

regression: remove unnecessary log on notifyUsersOnMessage (#33207)

parent 200d22b7
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment