Skip to content
Snippets Groups Projects
Commit 6b398ced authored by Diego Sampaio's avatar Diego Sampaio
Browse files

code cleanup

parent ee20d216
No related branches found
No related tags found
No related merge requests found
......@@ -263,17 +263,6 @@ RocketChat.callbacks.add('afterSaveMessage', function(message, room) {
});
}
}
// if (mentionIds > 0) {
// /*
// Update all other subscriptions of mentioned users to alert their owners and incrementing
// the unread counter for mentions and direct messages
// */
// if (toAll) {
// RocketChat.models.Subscriptions.incUnreadForRoomIdExcludingUserId(message.rid, user._id, 1);
// } else {
// RocketChat.models.Subscriptions.incUnreadForRoomIdAndUserIds(message.rid, mentionIds, 1);
// }
// }
}
return message;
......
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