mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
show nicknames in member list
This commit is contained in:
1 parent
29a049e62a
commit
e097342f55
1 file changed
+1
-1
@@ -40,7 +40,7 @@ MemberListUserRow::MemberListUserRow(const std::optional<GuildData> &guild, cons
|
||||
// todo remove after migration complete
|
||||
std::string display;
|
||||
if (data.IsPomelo()) {
|
||||
display = data.GetDisplayName();
|
||||
display = data.GetDisplayName(guild.has_value() ? guild->ID : Snowflake::Invalid);
|
||||
} else {
|
||||
display = data.Username;
|
||||
if (Abaddon::Get().GetSettings().ShowMemberListDiscriminators) {
|
||||
|
||||
Reference in new issue
Block a user