Fix netmail flags for netmails originating here

This commit is contained in:
2023-07-20 23:12:26 +10:00
parent 8d9bde9692
commit 02a3963a12
5 changed files with 24 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ class AddressLink extends Notification //implements ShouldQueue
$o->fftn_id = $so->match($this->ao->zone)->first()->id;
$o->tftn_id = $this->ao->id;
$o->flags = Message::FLAG_LOCAL;
$o->flags = Message::FLAG_LOCAL|Message::FLAG_PRIVATE|Message::FLAG_CRASH;
$o->cost = 0;
$o->tagline = 'Address Linking...';

View File

@@ -65,7 +65,7 @@ class NetmailTest extends Notification //implements ShouldQueue
$o->fftn_id = $so->match($this->ao->zone)->first()->id;
$o->tftn_id = $this->ao->id;
$o->flags = Message::FLAG_LOCAL;
$o->flags = Message::FLAG_LOCAL|Message::FLAG_PRIVATE;
$o->cost = 0;
$o->tagline = 'Testing, testing, 1 2 3.';