diff options
author | FChannel <=> | 2021-01-19 22:17:57 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-19 22:17:57 -0800 |
commit | 08fea42e13bd16b7f50ece10eebcbebe8c9509fb (patch) | |
tree | 6721f0ee65c61255d00f7cf25a8729a78315f91d /Database.go | |
parent | cecfc9b08bbce20b14c367577ba728f27d51fb55 (diff) |
function to make preview image of attachment image
Diffstat (limited to 'Database.go')
-rw-r--r-- | Database.go | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |