diff options
author | 2022-08-27 05:35:31 -0400 | |
---|---|---|
committer | 2022-08-27 11:35:31 +0200 | |
commit | 54f6caed659e8d7d94ad8a0a76405fd0870f297c (patch) | |
tree | 601cc024819711c3e0b419bd99ffaa16b4e9f4ca /internal/processing/status/util.go | |
parent | [docs] Add user settings panel docs, other small updates (#768) (diff) | |
download | gotosocial-54f6caed659e8d7d94ad8a0a76405fd0870f297c.tar.xz |
[bugfix] Status visibility + `excludeReplies` fixes (#769)
* Fix some bugs when viewing a user's posts: include their self-replies (threads) even when excludeReplies is set, and use in_reply_to_uri instead of in_reply_to_id to filter out replies
* Assign values to InReplyToURI when creating statuses. Add index and update old statuses with a migration
Diffstat (limited to 'internal/processing/status/util.go')
-rw-r--r-- | internal/processing/status/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/processing/status/util.go b/internal/processing/status/util.go index 5e961e2ea..13c5b958f 100644 --- a/internal/processing/status/util.go +++ b/internal/processing/status/util.go @@ -151,6 +151,7 @@ func (p *processor) ProcessReplyToID(ctx context.Context, form *apimodel.Advance } status.InReplyToID = repliedStatus.ID + status.InReplyToURI = repliedStatus.URI status.InReplyToAccountID = repliedAccount.ID return nil |