Fix #3451, set 'involved' as default notify level (II)
parent
d94a568ffb
commit
06e5492d66
|
@ -397,7 +397,7 @@ def add_watcher(obj, user):
|
|||
object_id=obj.id, user=user, project=obj.project)
|
||||
|
||||
notify_policy, _ = apps.get_model("notifications", "NotifyPolicy").objects.get_or_create(
|
||||
project=obj.project, user=user, defaults={"notify_level": NotifyLevel.all})
|
||||
project=obj.project, user=user, defaults={"notify_level": NotifyLevel.involved})
|
||||
|
||||
return watched
|
||||
|
||||
|
|
Loading…
Reference in New Issue