summaryrefslogtreecommitdiff
path: root/internal/typeutils/internaltoas.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-21 15:56:00 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-21 15:56:00 +0200
commita5fd6f427bab2cac03b4da5668eed18b900ba3be (patch)
tree5456928a707656a54cddcffb1199f59a4bc9039e /internal/typeutils/internaltoas.go
parentTestrig fixes (#50) (diff)
downloadgotosocial-a5fd6f427bab2cac03b4da5668eed18b900ba3be.tar.xz
Deletes+unboosts (#52)
* Status deletes properly streamed now. * Unboosts now work locally and federated. * Documentation updates.
Diffstat (limited to 'internal/typeutils/internaltoas.go')
-rw-r--r--internal/typeutils/internaltoas.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go
index 296d0a182..bc7eee664 100644
--- a/internal/typeutils/internaltoas.go
+++ b/internal/typeutils/internaltoas.go
@@ -649,7 +649,7 @@ func (c *converter) BoostToAS(boostWrapperStatus *gtsmodel.Status, boostingAccou
if err := c.db.GetByID(boostWrapperStatus.BoostOfID, b); err != nil {
return nil, fmt.Errorf("BoostToAS: error getting status with ID %s from the db: %s", boostWrapperStatus.BoostOfID, err)
}
- boostWrapperStatus = b
+ boostWrapperStatus.GTSBoostedStatus = b
}
// create the announce