diff options
Diffstat (limited to 'views/outbox.go')
-rw-r--r-- | views/outbox.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/outbox.go b/views/outbox.go index 6132072..37afed1 100644 --- a/views/outbox.go +++ b/views/outbox.go @@ -55,7 +55,7 @@ func RenderOutboxCollection(name, domain string, page []models.OutboxItem) (map[ itemsProp.AppendActivityStreamsCreate(crea) } totalProp := streams.NewActivityStreamsTotalItemsProperty() - totalProp.Set(20) + totalProp.Set(len(page)) oc.SetActivityStreamsTotalItems(totalProp) oc.SetActivityStreamsOrderedItems(itemsProp) return streams.Serialize(oc) |