mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 00:16:16 -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
|
|
@ -303,6 +303,7 @@ func (p *Processor) Edit(
|
|||
status.Content = content.Content
|
||||
status.ContentWarning = content.ContentWarning
|
||||
status.Text = form.Status
|
||||
status.ContentType = typeutils.APIContentTypeToContentType(form.ContentType)
|
||||
status.Language = content.Language
|
||||
status.Sensitive = &form.Sensitive
|
||||
status.AttachmentIDs = form.MediaIDs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue