aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-23 22:37:20 -0800
committerFChannel <=>2021-01-23 22:37:20 -0800
commit2ca021e2c6599b39e6225fdbd449093517a34418 (patch)
treede65bb297a63765f4e471ddd488975466e438df1 /client.go
parent000c206417a91d0f910cba35d16d433a1f038530 (diff)
caching progress
Diffstat (limited to 'client.go')
-rw-r--r--client.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/client.go b/client.go
index d62c26f..e0c5975 100644
--- a/client.go
+++ b/client.go
@@ -138,7 +138,7 @@ func OutboxGet(w http.ResponseWriter, r *http.Request, db *sql.DB, collection Co
domainURL := GetDomainURL(*actor)
if domainURL == Domain {
- followCol := GetObjectsFromFollow(*actor)
+ followCol := GetObjectsFromFollow(db, *actor)
for _, e := range followCol {
if e.Type != "Tombstone" {
mergeCollection.OrderedItems = append(mergeCollection.OrderedItems, e)
@@ -217,9 +217,8 @@ func CatalogGet(w http.ResponseWriter, r *http.Request, db *sql.DB, collection C
domainURL := GetDomainURL(*actor)
if domainURL == Domain {
- followCol := GetObjectsFromFollow(*actor)
+ followCol := GetObjectsFromFollow(db, *actor)
for _, e := range followCol {
-
mergeCollection.OrderedItems = append(mergeCollection.OrderedItems, e)
}
}