From e358eb07ec4ce873f750c0b75d7b23df4da2fbb8 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 28 Jan 2021 20:29:11 -0800 Subject: view individual post from url --- Database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Database.go') diff --git a/Database.go b/Database.go index 06e8769..9b8ecda 100644 --- a/Database.go +++ b/Database.go @@ -448,7 +448,7 @@ func GetObjectByIDFromDB(db *sql.DB, postID string) Collection { var nColl Collection var result []ObjectBase - query := `select id, name, content, type, published, updated, attributedto, attachment, preview, actor from activitystream where id=$1 and id in (select id from replies where inreplyto='') and type='Note' order by updated asc` + query := `select id, name, content, type, published, updated, attributedto, attachment, preview, actor from activitystream where id=$1 and type='Note' order by updated asc` rows, err := db.Query(query, postID) -- cgit v1.2.3