diff options
author | FChannel <=> | 2021-01-23 22:37:20 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-23 22:37:20 -0800 |
commit | 2ca021e2c6599b39e6225fdbd449093517a34418 (patch) | |
tree | de65bb297a63765f4e471ddd488975466e438df1 /client.go | |
parent | 000c206417a91d0f910cba35d16d433a1f038530 (diff) |
caching progress
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) } } |