Another fix to make sure site generated echomail is not exported to ourselfs
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-05-26 12:08:01 +10:00
parent f8cb6ccc37
commit 77b9bb30c4

View File

@ -182,7 +182,7 @@ final class Echomail extends Model implements Packet
->addresses
->filter(function($item) use ($model) { return $model->echoarea->can_read($item->security); })
->pluck('id')
->diff(our_address($model->fftn->zone->domain))
->diff(our_address($model->fftn->zone->domain)->pluck('id'))
->diff($seenby);
if ($exportto->count()) {