tangled
alpha
login
or
join now
stream.place
/
streamplace
75
fork
atom
Live video on the AT Protocol
75
fork
atom
overview
issues
1
pulls
pipelines
feeds: don't show livestreams with empty URIs
Eli Mallon
3 months ago
3b15cef8
7b3c04a8
+5
-3
1 changed file
expand all
collapse all
unified
split
pkg
spxrpc
app_bsky_feed.go
+5
-3
pkg/spxrpc/app_bsky_feed.go
···
66
66
log.Error(ctx, "failed to get latest livestream, skipping", "repoDID", seg.RepoDID, "error", err)
67
67
continue
68
68
}
69
69
-
posts = append(posts, model.FeedPost{
70
70
-
URI: ls.PostURI,
71
71
-
})
69
69
+
if ls.PostURI != "" {
70
70
+
posts = append(posts, model.FeedPost{
71
71
+
URI: ls.PostURI,
72
72
+
})
73
73
+
}
72
74
}
73
75
} else {
74
76
return nil, echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("invalid feed name: %s", name))