Real name instead of rt name in transaction reply

Hi,

don’t know if it could interest someone… but it is attached.

This patch was used with RT-3.0.10. When someone reply on a transation
in the ticket view, the name quote into bracket >[name - date]: is
remplaced
by the real name. If the RealName is not present fallback to the Name.

It could be usefull if you didn’t want your customers to see your
internals RT nickname.

transaction-reply-real-name.patch (547 Bytes)

The name is still used in transaction reply.

On 6.0.3 I’ve create this patch to show the RealName (or Name if RealName is empty).

--- lib/RT/Transaction.pm       2026-06-08 20:16:11.125172050 +0200
+++ local/lib/RT/Transaction.pm 2026-07-30 13:01:29.693416752 +0200
@@ -594,7 +594,8 @@
 
 sub QuoteHeader {
     my $self = shift;
-    return $self->loc("On [_1], [_2] wrote:", $self->CreatedAsString, $self->CreatorObj->Name);
+
+    return $self->loc("On [_1], [_2] wrote:", $self->CreatedAsString, $self->CreatorObj->RealName ? $self->CreatorObj->RealName : $self->CreatorObj->Name );
 }

Ciao.