mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 11:06:15 -06:00
Write status content type on create/edit
This commit is contained in:
parent
49e649068c
commit
e51a787162
4 changed files with 57 additions and 11 deletions
|
|
@ -56,5 +56,6 @@ func (p *Processor) SourceGet(ctx context.Context, requester *gtsmodel.Account,
|
|||
ID: status.ID,
|
||||
Text: status.Text,
|
||||
SpoilerText: status.ContentWarning,
|
||||
ContentType: p.converter.ContentTypeToAPIContentType(ctx, status.ContentType),
|
||||
}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue