summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/mention.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gtsmodel/mention.go')
-rw-r--r--internal/gtsmodel/mention.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gtsmodel/mention.go b/internal/gtsmodel/mention.go
index fb7f3b51a..7d5516a9f 100644
--- a/internal/gtsmodel/mention.go
+++ b/internal/gtsmodel/mention.go
@@ -60,7 +60,7 @@ type Mention struct {
// A pointer to the gtsmodel account of the mentioned account.
}
-// ParseMentionFunc describes a function that takes a lowercase account name
+// ParseMentionFunc describes a function that takes a lowercase account namestring
// in the form "@test@whatever.example.org" for a remote account, or "@test"
// for a local account, and returns a fully populated mention for that account,
// with the given origin status ID and origin account ID.
@@ -70,4 +70,4 @@ type Mention struct {
//
// Mentions generated by this function are not put in the database, that's still up to
// the caller to do.
-type ParseMentionFunc func(ctx context.Context, targetAccount string, originAccountID string, statusID string) (*Mention, error)
+type ParseMentionFunc func(ctx context.Context, namestring string, originAccountID string, statusID string) (*Mention, error)