diff --git a/pkg/internal/http/api/activitypub_api.go b/pkg/internal/http/api/activitypub_api.go index eefc2dc..3b4dd5e 100644 --- a/pkg/internal/http/api/activitypub_api.go +++ b/pkg/internal/http/api/activitypub_api.go @@ -54,6 +54,7 @@ func apUserOutbox(c *fiber.Ctx) error { } tx, err := UniversalPostFilter(c, database.C) + tx.Where("publisher_id = ? AND reply_id IS NULL", publisher.ID) if err != nil { return fiber.NewError(fiber.StatusBadRequest, err.Error()) }