mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
pretend to be a real client a little better
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user