From d5003b51a4ca7ed2c13ffd23b051ea31c8836ba0 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Thu, 18 Nov 2021 23:25:50 -0400 Subject: board/thread view; images don't work --- db/database.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'db/database.go') diff --git a/db/database.go b/db/database.go index 8845f24..0b44404 100644 --- a/db/database.go +++ b/db/database.go @@ -2371,11 +2371,7 @@ func IsReplyToOP(op string, link string) (string, bool, error) { return id, false, err } - if id != "" { - return id, true, nil - } - - return "", false, nil + return id, id != "", nil } func GetReplyOP(link string) (string, error) { -- cgit v1.2.3