mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-19 23:00:13 +00: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) {
|
if (receiver === undefined) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (sender._id === receiver._id) return
|
||||||
|
|
||||||
const result = await createNotificationTxes(control, ptx, task.ids.AssigneedNotification, issue, sender, receiver)
|
const result = await createNotificationTxes(control, ptx, task.ids.AssigneedNotification, issue, sender, receiver)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user