Fix for netmail notifications, fftn_id wasnt being set correctly

This commit is contained in:
Deon George 2023-12-19 09:13:16 +11:00
parent 24f6af3d3b
commit ac2ee7df0c

View File

@ -57,7 +57,7 @@ abstract class Netmails extends Notification //implements ShouldQueue
$o->datetime = Carbon::now(); $o->datetime = Carbon::now();
$o->tzoffset = $o->datetime->utcOffset(); $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->tftn_id = $ao->id;
$o->flags = (Message::FLAG_LOCAL|Message::FLAG_PRIVATE); $o->flags = (Message::FLAG_LOCAL|Message::FLAG_PRIVATE);
$o->cost = 0; $o->cost = 0;