Changed so that chat messages never show the actor name, instead using alias (#2054)

This commit is contained in:
WBHarry 2026-07-01 22:17:03 +02:00 committed by GitHub
parent 1af86d87bb
commit c25c4d63f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,18 +6,13 @@
<div class="message-sub-header-container">
{{#if message.title}}
<h4>{{message.title}}</h4>
<div>{{actor.name}} {{#if author.isGM}}(GM){{/if}}</div>
<div>{{alias}} {{#if author.isGM}}(GM){{/if}}</div>
{{else}}
{{#unless actor.name}}
<h4>{{author.name}}</h4>
{{else}}
{{#if (eq message.type 'base')}}
<h4>{{actor.name}}</h4>
<div>{{author.name}}</div>
{{else}}
<h4>{{alias}}</h4>
<div>{{actor.name}} {{#if author.isGM}}(GM){{/if}}</div>
{{/if}}
<h4>{{alias}}</h4>
<div>{{author.name}}</div>
{{/unless}}
{{/if}}
</div>