fix(app): keep hydrated state across gateway session resumes (#1862)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:33:27 +02:00
1 parent b7f75e25ad
commit 943b948de7
41 files changed
+81 -690

No files matched your search

@@ -104,7 +104,7 @@ class ChannelPins {
};
}
handleConnectionOpen(): void {
handleGatewayReady(): void {
this.channelPins = {};
this.channelState = {};
}
@@ -235,7 +235,7 @@ class Channels {
}
@action
handleConnectionOpen({channels}: {channels: ReadonlyArray<WireChannel>}): void {
handleGatewayReady({channels}: {channels: ReadonlyArray<WireChannel>}): void {
this.channelsById.clear();
this.channelsByGuildId.clear();
this.privateChannelList = EMPTY_CHANNELS;