mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-25 19:58:30 +03:00
Don't send self assignee notification (#2893)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
95568ef948
commit
1f966a36c1
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user