tangled
alpha
login
or
join now
stream.place
/
streamplace
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
feeds: skip users who have streamed with no livestream
Eli Mallon
9 months ago
af73e2f3
92f204a0
+3
-1
1 changed file
expand all
collapse all
unified
split
pkg
spxrpc
app_bsky_feed.go
+3
-1
pkg/spxrpc/app_bsky_feed.go
···
11
11
"github.com/bluesky-social/indigo/api/bsky"
12
12
appbskytypes "github.com/bluesky-social/indigo/api/bsky"
13
13
"github.com/labstack/echo/v4"
14
14
+
"stream.place/streamplace/pkg/log"
14
15
"stream.place/streamplace/pkg/model"
15
16
)
16
17
···
63
64
for _, seg := range segs {
64
65
ls, err := s.model.GetLatestLivestreamForRepo(seg.RepoDID)
65
66
if err != nil {
66
66
-
return nil, echo.NewHTTPError(http.StatusInternalServerError, fmt.Sprintf("failed to get latest livestream: %v", err))
67
67
+
log.Error(ctx, "failed to get latest livestream, skipping", "repoDID", seg.RepoDID, "error", err)
68
68
+
continue
67
69
}
68
70
posts = append(posts, model.FeedPost{
69
71
URI: ls.PostURI,