summaryrefslogtreecommitdiff
path: root/internal/processing/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/util.go')
-rw-r--r--internal/processing/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/util.go b/internal/processing/util.go
index 7aefe64fc..1ce67c616 100644
--- a/internal/processing/util.go
+++ b/internal/processing/util.go
@@ -30,7 +30,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/util"
)
-func GetParseMentionFunc(dbConn db.DB, federator federation.Federator) gtsmodel.ParseMentionFunc {
+func GetParseMentionFunc(dbConn db.DB, federator *federation.Federator) gtsmodel.ParseMentionFunc {
return func(ctx context.Context, targetAccount string, originAccountID string, statusID string) (*gtsmodel.Mention, error) {
// get the origin account first since we'll need it to create the mention
originAccount, err := dbConn.GetAccountByID(ctx, originAccountID)