[skip ci] feat: prepare for public release
This commit is contained in:
@@ -86,6 +86,7 @@ class ConnectionStore {
|
||||
handleGatewayDispatch: action.bound,
|
||||
ensureGuildActiveAndSynced: action.bound,
|
||||
flushPendingGuildSync: action.bound,
|
||||
syncGuildIfNeeded: action.bound,
|
||||
},
|
||||
{autoBind: true},
|
||||
);
|
||||
@@ -324,6 +325,10 @@ class ConnectionStore {
|
||||
}
|
||||
}
|
||||
|
||||
syncGuildIfNeeded(guildId: string, reason?: string): void {
|
||||
this.ensureGuildActiveAndSynced(guildId, {reason});
|
||||
}
|
||||
|
||||
private flushPendingGuildSync(): void {
|
||||
const guildId = this.pendingGuildSyncId ?? SelectedGuildStore.selectedGuildId;
|
||||
if (!guildId || guildId === FAVORITES_GUILD_ID) {
|
||||
|
||||
Reference in New Issue
Block a user