From 6dde4cf910f11daa5c599af9df0ad381a004e9c3 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 4 Dec 2024 16:06:36 +1100 Subject: [PATCH] Change MessagePath to not render the Origin in full --- app/Traits/MessagePath.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Traits/MessagePath.php b/app/Traits/MessagePath.php index d125d7e..afbbfa8 100644 --- a/app/Traits/MessagePath.php +++ b/app/Traits/MessagePath.php @@ -50,7 +50,7 @@ trait MessagePath $reply .= "No path information? This would be normal if this message came directly to the hub\r"; $reply .= "+----------------------------------------------------------------[ ORIGIN ]-+\r"; - $reply .= $mo->origin."\r"; + $reply .= sprintf("%s (%s)\r",($mo->getRelationValue('origin')?->value) ?: '*NO ORIGIN*',$mo->fftn->ftn4d); $reply .= "+-----------------------------------------------------------[ END MESSAGE ]-+\r";