aboutsummaryrefslogtreecommitdiff
path: root/Database.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-25 14:14:27 -0800
committerFChannel <=>2021-01-25 14:14:27 -0800
commitd94cbd3375df4cd01d068f56da1c6e4b0acd693c (patch)
tree363cc205bfd350c205f26cb23c8a1c05df6df897 /Database.go
parentaa76455a3dfd4504697e1b3fdb33e0aeb01db4d7 (diff)
removed duplicated To fields
Diffstat (limited to 'Database.go')
-rw-r--r--Database.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/Database.go b/Database.go
index 5a11f22..cbb035b 100644
--- a/Database.go
+++ b/Database.go
@@ -556,11 +556,8 @@ func GetObjectRepliesRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase,
result = append(result, post)
}
- /*
- remoteCollection := GetObjectRepliesRemote(db, parent)
+ remoteCollection, postc, imgc := GetObjectRepliesCache(db, parent)
- var postc int
- var imgc int
for _, e := range remoteCollection.OrderedItems {
nColl.OrderedItems = append(nColl.OrderedItems, e)
@@ -572,7 +569,6 @@ func GetObjectRepliesRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase,
nColl.OrderedItems = result
-*/
return &nColl, 0, 0
}