summaryrefslogtreecommitdiff
path: root/discord/discord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/discord.cpp')
-rw-r--r--discord/discord.cpp3
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) {