alpha
Login
or
Join now
danabra.mov
/
sidetrail
Star
1
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
an app to share curated trails
sidetrail.app
Star
1
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
checks
author
Dan Abramov
date
6 months ago
(Dec 6, 2025, 10:39 PM +0900)
commit
f00e4fe5
f00e4fe5e60604e658463522d662d170aa55cf50
parent
6a5666bb
6a5666bb205c727c5be06d9fbef3539c24e49ea6
+4
-5
1 changed file
Expand all
Collapse all
Unified
Split
ingester
src
handler.ts
+4
-5
ingester/src/handler.ts
Reviewed
···
203
203
if (evt.kind === "identity") return;
204
204
if (evt.kind !== "commit") return;
205
205
206
206
+
const { commit } = evt;
207
207
+
const { collection, rkey } = commit;
208
208
+
if (!COLLECTIONS.includes(collection)) return;
209
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
216
-
217
217
-
const { commit } = evt;
218
218
-
const { collection, rkey } = commit;
219
219
-
220
220
-
if (!COLLECTIONS.includes(collection)) return;
221
220
222
221
const uri = `at://${evt.did}/${collection}/${rkey}`;
223
222