From ac2ee7df0cd8a16c48d79d77536b9050f1d0f623 Mon Sep 17 00:00:00 2001 From: Deon George Date: Tue, 19 Dec 2023 09:13:16 +1100 Subject: [PATCH] Fix for netmail notifications, fftn_id wasnt being set correctly --- app/Notifications/Netmails.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/Netmails.php b/app/Notifications/Netmails.php index 5259575..217cf5d 100644 --- a/app/Notifications/Netmails.php +++ b/app/Notifications/Netmails.php @@ -57,7 +57,7 @@ abstract class Netmails extends Notification //implements ShouldQueue $o->datetime = Carbon::now(); $o->tzoffset = $o->datetime->utcOffset(); - $o->fftn_id = our_address($ao->zone->domain,$ao); + $o->fftn_id = our_address($ao->zone->domain,$ao)->id; $o->tftn_id = $ao->id; $o->flags = (Message::FLAG_LOCAL|Message::FLAG_PRIVATE); $o->cost = 0;