Complete rework of packet parsing and packet generation
This commit is contained in:
@@ -52,13 +52,14 @@ abstract class Netmails extends Notification //implements ShouldQueue
|
||||
$ao = $notifiable->routeNotificationFor(static::via);
|
||||
|
||||
$o = new Netmail;
|
||||
$o->set_sender = our_address($ao);
|
||||
$o->to = $ao->system->sysop;
|
||||
$o->from = Setup::PRODUCT_NAME;
|
||||
|
||||
$o->datetime = Carbon::now();
|
||||
$o->tzoffset = $o->datetime->utcOffset();
|
||||
|
||||
$o->fftn_id = our_address($ao)->id;
|
||||
$o->fftn_id = $o->set->get('set_sender')->id;
|
||||
$o->tftn_id = $ao->id;
|
||||
$o->flags = (Message::FLAG_LOCAL|Message::FLAG_PRIVATE);
|
||||
$o->cost = 0;
|
||||
|
Reference in New Issue
Block a user