diff options
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) } } |