Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove inactive deletion Discord alert

Neeraj Guptad0f694adfb21
diff --git a/server/pkg/controller/user/inactive_user_orchestrator.go b/server/pkg/controller/user/inactive_user_orchestrator.go
index ca6019954f..baa30da03c 100644
--- a/server/pkg/controller/user/inactive_user_orchestrator.go
+++ b/server/pkg/controller/user/inactive_user_orchestrator.go
@@ -467,12 +467,6 @@ func (c *InactiveUserOrchestrator) processCandidate(candidate repo.UserInactivit
"deletion_date": deletionDate,
}).Info("Sent inactive user email")
- if config.IsFinal {
- c.DiscordController.NotifyAdminAction(
- fmt.Sprintf("Inactive user %d (%s) reached 13 months inactivity and account deletion was initiated",
- user.ID, user.Email))
- }
-
return stage, true, false, false, nil
}