Some messages have the origin in the middle of the message - change strpos to strrpos

This commit is contained in:
Deon George
2021-11-29 21:12:44 +11:00
parent a00534794e
commit f1780e61ea
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ final class Echomail extends Model implements Packet
{
parent::boot();
// @todo if the message is updated with new SEEN-BY's from another route, we'll delete the pending export for systems (if there is one)
static::created(function($model) {
if (! $model->echoarea_id) {
Log::alert(sprintf('%s:- Message has no echo area, no exporting',self::LOGKEY,$model->id));