Posting messages to matrix
This commit is contained in:
@@ -11,6 +11,7 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
use App\Casts\{CollectionOrNull,CompressedStringOrNull,UTF8StringOrNull};
|
||||
use App\Classes\FTN\Message;
|
||||
use App\Events\Echomail as EchomailEvent;
|
||||
use App\Interfaces\Packet;
|
||||
use App\Traits\{MessageAttributes,MsgID,ParseAddresses,QueryCacheableConfig};
|
||||
|
||||
@@ -270,6 +271,8 @@ final class Echomail extends Model implements Packet
|
||||
$model->seenby()->syncWithPivotValues($exportto,['export_at'=>Carbon::now()],FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
event(new EchomailEvent($model->withoutRelations()));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user