mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-27 16:16:35 +03:00
fix channel/guild updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user