diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-11-14 02:27:23 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-11-14 02:27:23 -0500 |
commit | 409af292af53cce77615011667d506bc2b40692a (patch) | |
tree | 0ca3e2d168a157fa2c69c9e89d9cc8e2edff1927 /discord/discord.cpp | |
parent | 2257ff979854867a9aff32aa7d07769bce5edff8 (diff) | |
parent | 108002248c0739078302e00d5ca224a44b93ea56 (diff) | |
download | abaddon-portaudio-409af292af53cce77615011667d506bc2b40692a.tar.gz abaddon-portaudio-409af292af53cce77615011667d506bc2b40692a.zip |
Merge branch 'master' into store
Diffstat (limited to 'discord/discord.cpp')
-rw-r--r-- | discord/discord.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/discord.cpp b/discord/discord.cpp index a3766aa..19c4b56 100644 --- a/discord/discord.cpp +++ b/discord/discord.cpp @@ -1701,6 +1701,9 @@ void DiscordClient::HandleGatewayThreadCreate(const GatewayMessage &msg) { ThreadCreateData data = msg.Data; m_store.SetChannel(data.Channel.ID, data.Channel); m_signal_thread_create.emit(data.Channel); + if (data.Channel.ThreadMember.has_value()) { + m_signal_added_to_thread.emit(data.Channel.ID); + } } void DiscordClient::HandleGatewayThreadDelete(const GatewayMessage &msg) { |