Merge pull request #17508 from overleaf/dp-ac-ieee-deprecation-notifications

Update notifications for IEEE Retirement

GitOrigin-RevId: f4e02e5fd838c2b1a6227c86f48bb12dd6bdb9a3
This commit is contained in:
David
2024-03-18 09:04:32 +00:00
committed by Copybot
parent e9020555d1
commit 3ca09c07a1
6 changed files with 196 additions and 36 deletions
@@ -281,6 +281,9 @@ function personalAndGroupSubscriptions(userId) {
}
}
/**
* @param {string} [userId]
*/
function ieeeCollabratecRetirement(userId) {
return {
key: 'notification-ieee-collabratec-retirement',
@@ -295,8 +298,8 @@ function ieeeCollabratecRetirement(userId) {
callback
)
},
read(callback) {
NotificationsHandler.markAsReadByKeyOnly(this.key, callback)
deleteAllUnread(callback) {
NotificationsHandler.markAsReadByKeyOnlyBulk(this.key, callback)
},
}
}