Remove unnecessary snapshots, format

This commit is contained in:
Jon Staab
2026-04-10 11:09:26 -07:00
parent f42889c3c2
commit f1f2083c88
5 changed files with 38 additions and 28 deletions
+3 -2
View File
@@ -967,8 +967,9 @@ export const deriveSpaceActionItems = (url: string) =>
pendingJoins.push(
...removeUndefined(
Array.from(groupBy(e => e.pubkey, roomJoins).values())
.map(events => first(sortEventsDesc(events))),
Array.from(groupBy(e => e.pubkey, roomJoins).values()).map(events =>
first(sortEventsDesc(events)),
),
).filter(({pubkey, created_at}) => {
if (roomMembers.has(pubkey)) return false
if (