mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 07:26:15 -06:00
Update docs, take care of TODOs
This commit is contained in:
parent
cd53543ec1
commit
0969007c61
5 changed files with 4 additions and 5 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue