From 5abd7819f093e68df5a59f7e41b01b7eff8d8427 Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Tue, 2 Jun 2026 08:35:45 -0700 Subject: [PATCH] atproto: index accounts with vods --- pkg/atproto/sync.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/atproto/sync.go b/pkg/atproto/sync.go index 681bc186c..985bc052e 100644 --- a/pkg/atproto/sync.go +++ b/pkg/atproto/sync.go @@ -730,8 +730,10 @@ func (atsync *ATProtoSynchronizer) handleCreateUpdate(ctx context.Context, userD log.Debug(ctx, "indexed badge issuance", "uri", aturi.String(), "recipient", rec.Did) case *streamplace.Video: - // Index the video record so playback can resolve it by URI - // without needing to round-trip back to the user's PDS. + _, err := atsync.SyncBlueskyRepoCached(ctx, userDID) + if err != nil { + return fmt.Errorf("failed to sync bluesky repo: %w", err) + } if err := atsync.Model.UpsertVideo(ctx, rec, aturi); err != nil { return fmt.Errorf("failed to upsert video: %w", err) } -- 2.51.2