mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 21:56:15 -06:00
ensure ContentType is updated anywhere Text is
This commit is contained in:
parent
8eeede9c35
commit
cd53543ec1
4 changed files with 4 additions and 3 deletions
|
|
@ -170,13 +170,11 @@ func (p *Processor) Create(
|
|||
// Set validated language.
|
||||
Language: content.Language,
|
||||
|
||||
// Set resolved content type.
|
||||
ContentType: typeutils.APIContentTypeToContentType(contentType),
|
||||
|
||||
// Set formatted status content.
|
||||
Content: content.Content,
|
||||
ContentWarning: content.ContentWarning,
|
||||
Text: form.Status, // raw
|
||||
ContentType: typeutils.APIContentTypeToContentType(contentType),
|
||||
|
||||
// Set gathered mentions.
|
||||
MentionIDs: content.MentionIDs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue