atproto pds in zig pds.zat.dev
pds atproto
25

Configure Feed

Select the types of activity you want to include in your feed.

Avoid missing resident avatars

zzstoatzz (May 24, 2026, 10:11 AM -0500) 9574765b e39ea3ba

+8
+8
src/storage/store.zig
··· 311 311 if (ref != .object) return null; 312 312 const link = ref.object.get("$link") orelse return null; 313 313 if (link != .string) return null; 314 + const blob_row = try conn.row( 315 + \\SELECT 1 316 + \\FROM blobs 317 + \\WHERE did = ? AND cid = ? 318 + \\LIMIT 1 319 + , .{ did, link.string }); 320 + if (blob_row == null) return null; 321 + defer blob_row.?.deinit(); 314 322 return try allocator.dupe(u8, link.string); 315 323 } 316 324