aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-11-18 23:25:50 -0400
committerFChannel <>2022-06-19 12:53:29 -0700
commitd5003b51a4ca7ed2c13ffd23b051ea31c8836ba0 (patch)
treea47593f1764f199ce0fdf186aae7d55d2816516a /db
parentd1c8716c3e1eebde7e028ff675120854320a714a (diff)
board/thread view; images don't work
Diffstat (limited to 'db')
-rw-r--r--db/database.go6
1 files changed, 1 insertions, 5 deletions
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) {