aboutsummaryrefslogtreecommitdiff
path: root/db/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'db/database.go')
-rw-r--r--db/database.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/database.go b/db/database.go
index 8bb7568..559188b 100644
--- a/db/database.go
+++ b/db/database.go
@@ -14,6 +14,7 @@ import (
"github.com/FChannel0/FChannel-Server/activitypub"
"github.com/FChannel0/FChannel-Server/config"
"github.com/FChannel0/FChannel-Server/util"
+ "github.com/FChannel0/FChannel-Server/webfinger"
_ "github.com/lib/pq"
)
@@ -2316,7 +2317,7 @@ func GetObjectTypeDB(id string) (string, error) {
}
func IsReplyInThread(inReplyTo string, id string) (bool, error) {
- obj, _, err := CheckValidActivity(inReplyTo)
+ obj, _, err := webfinger.CheckValidActivity(inReplyTo)
if err != nil {
return false, err
}