mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-03 16:13:17 -06:00
whoops use attachment ids instead of mention ids ... 🤦
This commit is contained in:
parent
016a81ea78
commit
924d3d6271
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ func (p *Processor) processContent(ctx context.Context, parseMention gtsmodel.Pa
|
|||
status.TagIDs = util.Gather(nil, status.Tags, func(tag *gtsmodel.Tag) string { return tag.ID })
|
||||
status.EmojiIDs = util.Gather(nil, status.Emojis, func(emoji *gtsmodel.Emoji) string { return emoji.ID })
|
||||
|
||||
if status.ContentWarning != "" && len(status.MentionIDs) > 0 {
|
||||
if status.ContentWarning != "" && len(status.AttachmentIDs) > 0 {
|
||||
// If a content-warning is set, and
|
||||
// the status contains media, always
|
||||
// set the status sensitive flag.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue