mirror of
1
Fork 0

[bugfix] Don't try to add nil filtered statuses to context (#3388)

This commit is contained in:
tobi 2024-10-04 19:23:18 +02:00 committed by GitHub
parent 8bd8c6fb45
commit d3d6e3f920
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -247,6 +247,12 @@ func (p *Processor) GetVisibleAPIStatuses(
continue continue
} }
if apiStatus == nil {
// Status was
// filtered out.
continue
}
// Append converted status to return slice. // Append converted status to return slice.
apiStatuses = append(apiStatuses, *apiStatus) apiStatuses = append(apiStatuses, *apiStatus)
} }