this repo has no description
0
fork

Configure Feed

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

List repos where we have no upstream status stored (#774)

authored by

Jaz and committed by
GitHub
06bacb46 160af4ab

+1 -1
+1 -1
bgs/handlers.go
··· 195 195 196 196 func (s *BGS) handleComAtprotoSyncListRepos(ctx context.Context, cursor int64, limit int) (*comatprototypes.SyncListRepos_Output, error) { 197 197 // Filter out tombstoned, taken down, and deactivated accounts 198 - q := fmt.Sprintf("id > ? AND NOT tombstoned AND NOT taken_down AND upstream_status != '%s' AND upstream_status != '%s' AND upstream_status != '%s'", 198 + q := fmt.Sprintf("id > ? AND NOT tombstoned AND NOT taken_down AND (upstream_status is NULL OR (upstream_status != '%s' AND upstream_status != '%s' AND upstream_status != '%s'))", 199 199 events.AccountStatusDeactivated, events.AccountStatusSuspended, events.AccountStatusTakendown) 200 200 201 201 // Load the users