Live video on the AT Protocol

feeds: don't show livestreams with empty URIs

+5 -3
+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 - posts = append(posts, model.FeedPost{ 70 - URI: ls.PostURI, 71 - }) 69 + if ls.PostURI != "" { 70 + posts = append(posts, model.FeedPost{ 71 + URI: ls.PostURI, 72 + }) 73 + } 72 74 } 73 75 } else { 74 76 return nil, echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("invalid feed name: %s", name))