diff options
Diffstat (limited to 'internal/gtsmodel/statusfave.go')
-rw-r--r-- | internal/gtsmodel/statusfave.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/gtsmodel/statusfave.go b/internal/gtsmodel/statusfave.go index f81226f8b..644b3ca63 100644 --- a/internal/gtsmodel/statusfave.go +++ b/internal/gtsmodel/statusfave.go @@ -31,4 +31,6 @@ type StatusFave struct { StatusID string `bun:"type:CHAR(26),unique:statusfaveaccountstatus,nullzero,notnull"` // database id of the status that has been 'faved' Status *Status `bun:"-"` // the faved status URI string `bun:",nullzero,notnull,unique"` // ActivityPub URI of this fave + PendingApproval *bool `bun:",nullzero,notnull,default:false"` // If true then Like must be Approved by the like-ee before being fully distributed. + ApprovedByURI string `bun:",nullzero"` // URI of an Accept Activity that approves this Like. } |