Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: enable email notification by default for new users (#7521)

sriram veeraghanta99f9337f3566
diff --git a/apps/api/plane/db/models/user.py b/apps/api/plane/db/models/user.py
index a94d8af586..2e7d2a7b8d 100644
--- a/apps/api/plane/db/models/user.py
+++ b/apps/api/plane/db/models/user.py
@@ -276,9 +276,9 @@ def create_user_notification(sender, instance, created, **kwargs):
UserNotificationPreference.objects.create(
user=instance,
- property_change=False,
- state_change=False,
- comment=False,
- mention=False,
- issue_completed=False,
+ property_change=True,
+ state_change=True,
+ comment=True,
+ mention=True,
+ issue_completed=True,
)