Revert "feat(notifications): deduplicate repeated email alerts"

This reverts commit 8c1405e168.
This commit is contained in:
Andras Bacsai committed 2026-07-09 13:19:48 +02:00
1 parent 8c1405e168
commit 2a0183bfad
33 files changed
+14 -516

No files matched your search

@@ -24,16 +24,6 @@ class ServerPatchCheck extends CustomEmailNotification
return $notifiable->getEnabledChannels('server_patch');
}
public function deduplicationKey(object $notifiable, string $channel): ?string
{
return "server-patch-check:server:{$this->server->uuid}:state:".hash('sha256', json_encode($this->patchData));
}
public function deduplicateFor(): int
{
return 86400;
}
public function toMail($notifiable = null): MailMessage
{
$mail = new MailMessage;