Update docs, take care of TODOs

This commit is contained in:
ewin 2025-03-03 16:48:24 -05:00
commit 0969007c61
No known key found for this signature in database
5 changed files with 4 additions and 5 deletions

View file

@ -368,7 +368,6 @@ func (p *Processor) processContentType(
// Old statuses may not have a saved content type; update the status to the
// user's preference and set this back on the form for later use.
case accountDefaultContentType != "":
// TODO: is this conversion from string to StatusContentType safe
status.ContentType = typeutils.APIContentTypeToContentType(apimodel.StatusContentType(accountDefaultContentType))
form.ContentType = apimodel.StatusContentType(accountDefaultContentType)