aboutsummaryrefslogtreecommitdiff
path: root/views/outbox.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--views/outbox.go2
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)