mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(app): keep hydrated state across gateway session resumes (#1862)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user