From 08fea42e13bd16b7f50ece10eebcbebe8c9509fb Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Tue, 19 Jan 2021 22:17:57 -0800 Subject: function to make preview image of attachment image --- Database.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'Database.go') diff --git a/Database.go b/Database.go index 3b4dfc4..d0f6892 100644 --- a/Database.go +++ b/Database.go @@ -420,7 +420,6 @@ func GetObjectRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase, int, in err = rows.Scan(&post.Id, &post.Name, &post.Content, &post.Type, &post.Published, &post.AttributedTo, &attachID, &previewID, &actor.Id) - CheckError(err, "error with replies db scan") post.Actor = &actor @@ -448,7 +447,6 @@ func GetObjectRepliesDB(db *sql.DB, parent ObjectBase) (*CollectionBase, int, in var postc int var imgc int for _, e := range remoteCollection.OrderedItems { - nColl.OrderedItems = append(nColl.OrderedItems, e) postc = postc + 1 if len(e.Attachment) > 0 { -- cgit v1.2.3