an app to share curated trails sidetrail.app
atproto nextjs react rsc

checks

+4 -5
+4 -5
ingester/src/handler.ts
··· 203 203 if (evt.kind === "identity") return; 204 204 if (evt.kind !== "commit") return; 205 205 206 + const { commit } = evt; 207 + const { collection, rkey } = commit; 208 + if (!COLLECTIONS.includes(collection)) return; 209 + 206 210 // ATProto spec: commits from inactive accounts should be ignored 207 211 const [accountStatus] = await db 208 212 .select({ active: accounts.active }) ··· 213 217 if (accountStatus && !accountStatus.active) { 214 218 return; 215 219 } 216 - 217 - const { commit } = evt; 218 - const { collection, rkey } = commit; 219 - 220 - if (!COLLECTIONS.includes(collection)) return; 221 220 222 221 const uri = `at://${evt.did}/${collection}/${rkey}`; 223 222