mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-30 16:33:32 -06:00
[chore] Add interaction policy gtsmodels (#3075)
* [chore] introduce interaction policy gts models * update migration a smidge * fix copy paste typo * update migration * use int for InteractionType
This commit is contained in:
parent
8f8093aea4
commit
5bc567196b
46 changed files with 1318 additions and 531 deletions
|
|
@ -115,15 +115,6 @@ func (suite *AccountTestSuite) populateTestStatus(testAccountKey string, status
|
|||
if status.Federated == nil {
|
||||
status.Federated = util.Ptr(true)
|
||||
}
|
||||
if status.Boostable == nil {
|
||||
status.Boostable = util.Ptr(true)
|
||||
}
|
||||
if status.Likeable == nil {
|
||||
status.Likeable = util.Ptr(true)
|
||||
}
|
||||
if status.Replyable == nil {
|
||||
status.Replyable = util.Ptr(true)
|
||||
}
|
||||
|
||||
if inReplyTo != nil {
|
||||
status.InReplyToAccountID = inReplyTo.AccountID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue