Merge branch 'master' into store

This commit is contained in:
ouwou
2021-11-14 02:27:23 -05:00
14 changed files with 240 additions and 36 deletions

View File

@@ -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) {