fix(keystone): don't send the administrator’s message to the party

This commit is contained in:
rainzm
2021-01-18 14:56:34 +08:00
parent e1f4e8f12c
commit 6b25d78ad7
-1
View File
@@ -111,7 +111,6 @@ func (sql *SSQLDriver) alertNotify(ctx context.Context, uext *api.SUserExtended,
}
userSet := sets.NewString(daUserIds...)
userSet.Insert(aUserIds...)
userSet.Insert(uext.Id)
data.Set("admin", jsonutils.JSONTrue)
p.RecipientId = userSet.UnsortedList()
p.Data = data