fix channel/guild updates

This commit is contained in:
ouwou
2021-01-09 02:10:48 -05:00
parent 117e5db564
commit 4d62944dbb
3 changed files with 5 additions and 6 deletions

View File

@@ -751,6 +751,7 @@ void DiscordClient::HandleGatewayGuildUpdate(const GatewayMessage &msg) {
auto current = m_store.GetGuild(id);
if (!current.has_value()) return;
current->update_from_json(msg.Data);
m_store.SetGuild(id, *current);
m_signal_guild_update.emit(id);
}