diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-06-25 05:53:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 05:53:59 +0000 |
commit | 66101a25cbe4739ade20484c2a020b9130125ec3 (patch) | |
tree | f1f3a2084677d90a37d1c4e3b17a19a606fe8d90 /src/discord/channel.cpp | |
parent | ba24e13419bfa6efd08a0d07f049a6981ff4cd28 (diff) | |
parent | 19f7d55c8748e4fcd651540e299347689a2070ad (diff) | |
download | abaddon-portaudio-66101a25cbe4739ade20484c2a020b9130125ec3.tar.gz abaddon-portaudio-66101a25cbe4739ade20484c2a020b9130125ec3.zip |
Merge pull request #176 from uowuo/pomelo
pomelo support (and nicknames)
Diffstat (limited to 'src/discord/channel.cpp')
-rw-r--r-- | src/discord/channel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/discord/channel.cpp b/src/discord/channel.cpp index 4b1d909..a7102ad 100644 --- a/src/discord/channel.cpp +++ b/src/discord/channel.cpp @@ -147,13 +147,13 @@ std::string ChannelData::GetRecipientsDisplay() const { const auto recipients = GetDMRecipients(); if (Type == ChannelType::DM && !recipients.empty()) { - return recipients[0].Username; + return recipients[0].GetDisplayName(); } Glib::ustring r; for (size_t i = 0; i < recipients.size(); i++) { const auto &recipient = recipients[i]; - r += recipient.Username; + r += recipient.GetDisplayName(); if (i < recipients.size() - 1) { r += ", "; } |