summaryrefslogtreecommitdiff
path: root/internal/db/gtsmodel
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-04-21 18:22:31 +0200
committerLibravatar GitHub <noreply@github.com>2021-04-21 18:22:31 +0200
commit9616f46424363adbc124da52c6728ca047506403 (patch)
treeff42bcf78a846e694e9f5716fc2b9ce7055593e9 /internal/db/gtsmodel
parentlinting + organizing (diff)
downloadgotosocial-9616f46424363adbc124da52c6728ca047506403.tar.xz
make boosts work woo (#12)
Diffstat (limited to 'internal/db/gtsmodel')
-rw-r--r--internal/db/gtsmodel/status.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/db/gtsmodel/status.go b/internal/db/gtsmodel/status.go
index 06ef61760..55ae91599 100644
--- a/internal/db/gtsmodel/status.go
+++ b/internal/db/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.