aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-04 01:29:50 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-04 01:29:50 +0000
commit54b85678185008a4f6b5778460228788e2dd970d (patch)
treebcce8ac619da7c438518801df4a57be2401f7596 /views
parenta40781358984f651214e53ba000ccc288c56d4f1 (diff)
downloadcommunique-54b85678185008a4f6b5778460228788e2dd970d.tar.gz
start of keypair model and persisting keypairs
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)