mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-20 14:27:29 -06:00
start on federating faves
This commit is contained in:
parent
2dbd132e50
commit
5219a7b9e7
5 changed files with 69 additions and 5 deletions
|
|
@ -32,6 +32,8 @@ type StatusFave struct {
|
|||
TargetAccountID string `pg:",notnull"`
|
||||
// database id of the status that has been 'faved'
|
||||
StatusID string `pg:",notnull"`
|
||||
// ActivityPub URI of this fave
|
||||
URI string `pg:",notnull"`
|
||||
|
||||
// FavedStatus is the status being interacted with. It won't be put or retrieved from the db, it's just for conveniently passing a pointer around.
|
||||
FavedStatus *Status `pg:"-"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue