# 수정: autoGroupFlairForUser에서 userGroup 플레어 표시

**URL:** <https://meta.discourse.org/t/fix-show-usergroup-flair-in-autogroupflairforuser/416277>\
**Category:** Bug\
**Created:** [11월 1, 2026, 3:54오전 UTC](https://meta.discourse.org/t/fix-show-usergroup-flair-in-autogroupflairforuser/416277 "2026-11-01T03:54:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/579066_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)\
**Post date:** [11월 1, 2026, 3:54오전 UTC](https://meta.discourse.org/t/fix-show-usergroup-flair-in-autogroupflairforuser/416277/1 "2026-11-01T03:54:15Z")

</div>

avatar-flair에 문제가 있습니다. 이 함수는 userGroup flair를 고려하지 않으며, 사용자가 userGroup flair를 설정했음에도 불구하고 autoGroup flair로 대체됩니다.

이로 인해 채팅 등의 위치에서 flair가 잘못 표시될 수 있습니다. 예를 들어, 제 flair를 그룹 flair로 설정했는데도 새로 고침 없이 제 신뢰 수준에 해당하는 flair가 DM에 표시됩니다.

이 커밋은 autoGroupFlair를 대체 옵션으로 유지하면서 먼저 사용자가 선택한 flair를 고려하도록 문제를 수정합니다.

> <https://github.com/discourse/discourse/pull/45426>
>
> There exists a problem in avatar-flair. The function fails to consider userGroup… flair, and will fallback to autoGroup flair even when the user set a userGroup flair.
> 
> This will cause the flair shown incorrectly in places like chat, e.g., I set my flair to a group flair, but the flair of my DM will be the one of my Trust Level without a refresh.
> 
> This commit fix this by considering user selected flair first, while keeping autoGroupFlair as a fallback.

---

_[View the full topic](https://meta.discourse.org/t/fix-show-usergroup-flair-in-autogroupflairforuser/416277)._
