diff options
author | FChannel <> | 2022-04-30 22:17:32 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 503a6637b8294aeb8e5e5546f8acbd2b3d6c4744 (patch) | |
tree | 56614d955df0d3e7284baa997bbf1a8dcc2e78f5 /db | |
parent | 1892327cee2c3fa1d3bea729bd08eb63c2189a96 (diff) |
first steps in posting connected. can make reply with no quote or quote OP
do not recommend working on this branch for the time being since
things are being moved around a lot
Diffstat (limited to 'db')
-rw-r--r-- | db/database.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/database.go b/db/database.go index 5cc1335..1ceac40 100644 --- a/db/database.go +++ b/db/database.go @@ -463,6 +463,7 @@ func IsReplyToOP(op string, link string) (string, bool, error) { if err != nil { return op, false, err } + defer rows.Close() var id string @@ -491,7 +492,7 @@ func GetReplyOP(link string) (string, error) { } func StartupArchive() error { - for _, e := range FollowingBoards { + for _, e := range webfinger.FollowingBoards { actor, err := activitypub.GetActorFromDB(e.Id) if err != nil { return err |