ensure ContentType is updated anywhere Text is

This commit is contained in:
ewin 2025-03-03 16:42:04 -05:00
commit cd53543ec1
No known key found for this signature in database
4 changed files with 4 additions and 3 deletions

View file

@ -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