summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/status.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-05-08 15:16:24 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-08 15:16:24 +0200
commit3c539cdfd61d9c0be4817025036347c5f9454747 (patch)
tree4b9a926841ace550f07d915c8db7569fd7d849d2 /internal/gtsmodel/status.go
parentAp (#14) (diff)
downloadgotosocial-3c539cdfd61d9c0be4817025036347c5f9454747.tar.xz
status boosts (#16)
Diffstat (limited to 'internal/gtsmodel/status.go')
-rw-r--r--internal/gtsmodel/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/gtsmodel/status.go b/internal/gtsmodel/status.go
index 06ef61760..55ae91599 100644
--- a/internal/gtsmodel/status.go
+++ b/internal/gtsmodel/status.go
@@ -89,6 +89,10 @@ type Status struct {
GTSReplyToStatus *Status `pg:"-"`
// Account being replied to
GTSReplyToAccount *Account `pg:"-"`
+ // Status being boosted
+ GTSBoostedStatus *Status `pg:"-"`
+ // Account of the boosted status
+ GTSBoostedAccount *Account `pg:"-"`
}
// Visibility represents the visibility granularity of a status.