diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-08 21:15:27 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-08 21:15:27 -0500 |
commit | 0f47728c2a6c2427d1046ad1b12d6925e6144949 (patch) | |
tree | 4333ef10b954253915a9c741b653203b1ffee13a /discord | |
parent | 9fa59479aa73b3ca57c1ce38b8e4248b7ec170df (diff) | |
download | abaddon-portaudio-0f47728c2a6c2427d1046ad1b12d6925e6144949.tar.gz abaddon-portaudio-0f47728c2a6c2427d1046ad1b12d6925e6144949.zip |
make dm member lists a bit better
Diffstat (limited to 'discord')
-rw-r--r-- | discord/discord.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/discord.cpp b/discord/discord.cpp index 5f3f6e4..ffd701d 100644 --- a/discord/discord.cpp +++ b/discord/discord.cpp @@ -591,6 +591,8 @@ void DiscordClient::HandleGatewayReady(const GatewayMessage &msg) { for (const auto &dm : data.PrivateChannels) { m_store.SetChannel(dm.ID, dm); + for (const auto &recipient : dm.Recipients) + m_store.SetUser(recipient.ID, recipient); } m_signal_gateway_ready.emit(); |