fix: federation self-connection causing sidebar space duplication
Guard autoConnectAll against connecting to window.location.origin, send perspective-correct replicatedInstances lists so remotes never store self-references, and deduplicate unaccounted spaces in sidebar.
This commit is contained in:
@@ -899,6 +899,7 @@ export function SpaceSidebar() {
|
||||
for (const space of spaces) {
|
||||
if (!accountedSpaceIds.has(space.id)) {
|
||||
result.push({ type: 'space', space });
|
||||
accountedSpaceIds.add(space.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user