Show operator icons on messages

This commit is contained in:
Noah 2025-06-12 21:18:40 -07:00
parent 467965d097
commit 30fabd33ba

View File

@ -316,6 +316,9 @@ export default {
class="has-text-grey"> class="has-text-grey">
@{{ message.username }} @{{ message.username }}
</a> </a>
<!-- User badges -->
<sup v-if="user.op" class="fa fa-peace ml-1 has-text-warning is-size-7"></sup>
</small> </small>
<small v-else class="has-text-grey">internal</small> <small v-else class="has-text-grey">internal</small>
</div> </div>
@ -511,8 +514,12 @@ export default {
<small class="has-text-grey" <small class="has-text-grey"
:class="{ 'ml-1': appearance === 'compact' && nickname !== message.username, 'strikethru': isOffline }" :class="{ 'ml-1': appearance === 'compact' && nickname !== message.username, 'strikethru': isOffline }"
v-if="!(message.isChatServer || message.isChatClient || message.isAdmin)">@{{ message.username v-if="!(message.isChatServer || message.isChatClient || message.isAdmin)">
}}</small> @{{ message.username}}
<!-- User badges -->
<sup v-if="user.op" class="fa fa-peace has-text-warning is-size-7"></sup>
</small>
</a>] </a>]
</strong> </strong>