diff options
author | 2021-07-26 20:25:54 +0200 | |
---|---|---|
committer | 2021-07-26 20:25:54 +0200 | |
commit | ad0e26dc04008feec8de0603c88fbd63f87c18ec (patch) | |
tree | fb8402a9d881b6480eba0a2402f05f7b39f7435c /internal/processing/admin | |
parent | add trusted proxy for parsing client IPs (#115) (diff) | |
download | gotosocial-ad0e26dc04008feec8de0603c88fbd63f87c18ec.tar.xz |
Markdown Statuses (#116)
* parse markdown statuses if desired
* add some preliminary docs for writing posts
Diffstat (limited to 'internal/processing/admin')
-rw-r--r-- | internal/processing/admin/createdomainblock.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/processing/admin/createdomainblock.go b/internal/processing/admin/createdomainblock.go index 78c830a43..df02cef94 100644 --- a/internal/processing/admin/createdomainblock.go +++ b/internal/processing/admin/createdomainblock.go @@ -28,7 +28,7 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/gtserror" "github.com/superseriousbusiness/gotosocial/internal/gtsmodel" "github.com/superseriousbusiness/gotosocial/internal/id" - "github.com/superseriousbusiness/gotosocial/internal/util" + "github.com/superseriousbusiness/gotosocial/internal/text" ) func (p *processor) DomainBlockCreate(account *gtsmodel.Account, domain string, obfuscate bool, publicComment string, privateComment string, subscriptionID string) (*apimodel.DomainBlock, gtserror.WithCode) { @@ -52,8 +52,8 @@ func (p *processor) DomainBlockCreate(account *gtsmodel.Account, domain string, ID: blockID, Domain: domain, CreatedByAccountID: account.ID, - PrivateComment: util.RemoveHTML(privateComment), - PublicComment: util.RemoveHTML(publicComment), + PrivateComment: text.RemoveHTML(privateComment), + PublicComment: text.RemoveHTML(publicComment), Obfuscate: obfuscate, SubscriptionID: subscriptionID, } |