mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
Don't send self assignee notification (#2893)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -39,6 +39,7 @@ export async function addAssigneeNotification (
|
||||
if (receiver === undefined) {
|
||||
return
|
||||
}
|
||||
if (sender._id === receiver._id) return
|
||||
|
||||
const result = await createNotificationTxes(control, ptx, task.ids.AssigneedNotification, issue, sender, receiver)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user