# 在参与者列表中使用用户名

**URL:** <https://meta.discourse.org/t/use-user-names-in-participants-list/390176>\
**Category:** Feature\
**Tags:** pr-welcome, events\
**Created:** [2025 年12 月 2 日 14:52 UTC](https://meta.discourse.org/t/use-user-names-in-participants-list/390176 "2025-12-02T14:52:42Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

作者： ![manut](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manut/32/485119_2.png) [@manut](https://meta.discourse.org/u/manut)\
发布日期： [2025 年12 月 16 日 07:56 UTC](https://meta.discourse.org/t/use-user-names-in-participants-list/390176/20 "2025-12-16T07:56:29Z")

</div>

我开始着手处理这个问题；我将创建一个 `mentioned` 通知类型（在 `frontend/discourse/app/lib/notification-types/` 中）。

我以其他通知类型为例，注意到使用了 `this.siteSettings.prioritize_full_name_in_ux`（注意，它不是 `prioritize_username_in_ux`）。  
它的值似乎总是 `false`（例如，在“点赞通知”中，使用的是用户名而不是全名）。

对 `prioritize_full_name_in_ux =` 进行一次小的全局搜索，我发现它只在测试中被赋值，因此它保留了在 `config/site_settings.yml:1005` 中定义的默认值（`false`）。

是我遗漏了什么，还是这里存在一个更大的问题？

---

_[View the full topic](https://meta.discourse.org/t/use-user-names-in-participants-list/390176)._
