Fix for echomail notifications, when echomails come from a point. Auto detect address when manually processing packets.

This commit is contained in:
2023-10-26 11:02:36 +11:00
parent f9d24db9f8
commit a886a389a8
3 changed files with 31 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ abstract class Echomails extends Notification //implements ShouldQueue
$o->datetime = Carbon::now();
$o->tzoffset = $o->datetime->utcOffset();
$o->fftn_id = ($x=$so->match($mo->fftn_o->zone)->first())->id;
$o->fftn_id = ($x=$so->match($mo->fboss_o->zone)->first())->id;
$o->flags = (Message::FLAG_LOCAL);
$o->tearline = sprintf('%s (%04X)',Setup::PRODUCT_NAME,Setup::PRODUCT_ID);