summaryrefslogtreecommitdiff
path: root/components/memberlist.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-12-14 03:05:16 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2020-12-14 03:05:16 -0500
commit22578921b9e577c669cd57385df48cfc08fa90eb (patch)
treec4a70fa7eb2682e5380e0411df857dd854993fec /components/memberlist.cpp
parent33ed25b2f66e727911182f1552aa8abfd558c69e (diff)
downloadabaddon-portaudio-22578921b9e577c669cd57385df48cfc08fa90eb.tar.gz
abaddon-portaudio-22578921b9e577c669cd57385df48cfc08fa90eb.zip
pretend to be a real client a little better
Diffstat (limited to 'components/memberlist.cpp')
-rw-r--r--components/memberlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/memberlist.cpp b/components/memberlist.cpp
index cf5e504..452022c 100644
--- a/components/memberlist.cpp
+++ b/components/memberlist.cpp
@@ -103,7 +103,7 @@ void MemberList::UpdateMemberListInternal() {
if (!chan.has_value()) return;
std::unordered_set<Snowflake> ids;
if (chan->Type == ChannelType::DM || chan->Type == ChannelType::GROUP_DM) {
- for (const auto &user : *chan->Recipients)
+ for (const auto &user : chan->GetDMRecipients())
ids.insert(user.ID);
ids.insert(discord.GetUserData().ID);
} else {