summaryrefslogtreecommitdiff
path: root/internal/processing/status/create.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-09-29 10:39:56 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-29 10:39:56 +0200
commit536d9e482d4ebc012855372b9fcfa4f022d1618a (patch)
tree36079fb403b9a9bb7d3a64ace582c6870bcce77b /internal/processing/status/create.go
parent[bugfix] Move follow.show_reblogs check further up to avoid showing unwanted ... (diff)
downloadgotosocial-536d9e482d4ebc012855372b9fcfa4f022d1618a.tar.xz
[chore/bugfix] Deinterface text.Formatter, allow underscores in hashtags (#2233)
Diffstat (limited to 'internal/processing/status/create.go')
-rw-r--r--internal/processing/status/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/status/create.go b/internal/processing/status/create.go
index d671ea8c4..4d4f7c574 100644
--- a/internal/processing/status/create.go
+++ b/internal/processing/status/create.go
@@ -277,7 +277,7 @@ func processLanguage(ctx context.Context, form *apimodel.AdvancedStatusCreateFor
return nil
}
-func processContent(ctx context.Context, dbService db.DB, formatter text.Formatter, parseMention gtsmodel.ParseMentionFunc, form *apimodel.AdvancedStatusCreateForm, accountID string, status *gtsmodel.Status) error {
+func processContent(ctx context.Context, dbService db.DB, formatter *text.Formatter, parseMention gtsmodel.ParseMentionFunc, form *apimodel.AdvancedStatusCreateForm, accountID string, status *gtsmodel.Status) error {
// if there's nothing in the status at all we can just return early
if form.Status == "" {
status.Content = ""