mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 02:13:17 -06:00
[feature] Process Reject of interaction via fedi API, put rejected statuses in the "sin bin" 😈 (#3271)
* [feature] Process `Reject` of interaction via fedi API, put rejected statuses in the "sin bin" * update test * move nil check back to `rejectStatusIRI`
This commit is contained in:
parent
3254ef1923
commit
307d98e386
21 changed files with 1172 additions and 115 deletions
|
|
@ -76,6 +76,7 @@ type DBService struct {
|
|||
db.Rule
|
||||
db.Search
|
||||
db.Session
|
||||
db.SinBinStatus
|
||||
db.Status
|
||||
db.StatusBookmark
|
||||
db.StatusFave
|
||||
|
|
@ -271,6 +272,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
Session: &sessionDB{
|
||||
db: db,
|
||||
},
|
||||
SinBinStatus: &sinBinStatusDB{
|
||||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Status: &statusDB{
|
||||
db: db,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue