summaryrefslogtreecommitdiff
path: root/internal/typeutils/util.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-04-17 12:41:40 +0200
committerLibravatar GitHub <noreply@github.com>2024-04-17 12:41:40 +0200
commit8cf685fbe949f11772b4901fe4e564e6be545864 (patch)
treec8da54b9d7139a88da164b4909d9255032988ddf /internal/typeutils/util.go
parent[bugfix] fix get all tokens (#2841) (diff)
downloadgotosocial-8cf685fbe949f11772b4901fe4e564e6be545864.tar.xz
[bugfix] Fix minor API issue w/ boosted statuses (#2846)
Diffstat (limited to 'internal/typeutils/util.go')
-rw-r--r--internal/typeutils/util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/typeutils/util.go b/internal/typeutils/util.go
index 0b7516d3a..da4109f67 100644
--- a/internal/typeutils/util.go
+++ b/internal/typeutils/util.go
@@ -36,7 +36,7 @@ import (
)
type statusInteractions struct {
- Faved bool
+ Favourited bool
Muted bool
Bookmarked bool
Reblogged bool
@@ -51,7 +51,7 @@ func (c *Converter) interactionsWithStatusForAccount(ctx context.Context, s *gts
if err != nil {
return nil, fmt.Errorf("error checking if requesting account has faved status: %s", err)
}
- si.Faved = faved
+ si.Favourited = faved
reblogged, err := c.state.DB.IsStatusBoostedBy(ctx, s.ID, requestingAccount.ID)
if err != nil {