From e5a02f492854d7c3f8d4fd44ccb512b0da40d952 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Mon, 25 Jan 2021 13:07:28 -0800 Subject: no really.... its fixed this time i promis --- CacheDatabase.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'CacheDatabase.go') diff --git a/CacheDatabase.go b/CacheDatabase.go index 8577c0f..5b8a6d0 100644 --- a/CacheDatabase.go +++ b/CacheDatabase.go @@ -384,15 +384,15 @@ func GetObjectRepliesCache(db *sql.DB, parent ObjectBase) (*CollectionBase, int, nColl.OrderedItems = result - remoteCollection, postc, imgc := GetObjectRepliesDB(db, parent) - - for _, e := range remoteCollection.OrderedItems { - nColl.OrderedItems = append(nColl.OrderedItems, e) - postc = postc + 1 - if len(e.Attachment) > 0 { - imgc = imgc + 1 - } - } + // remoteCollection, postc, imgc := GetObjectRepliesDB(db, parent) + + // for _, e := range remoteCollection.OrderedItems { + // nColl.OrderedItems = append(nColl.OrderedItems, e) + // postc = postc + 1 + // if len(e.Attachment) > 0 { + // imgc = imgc + 1 + // } + // } return &nColl, 0, 0 } -- cgit v1.2.3