mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 08:26:15 -06:00
start moving some database stuff around
This commit is contained in:
parent
ce190d867c
commit
f409f7c65a
43 changed files with 1230 additions and 1223 deletions
|
|
@ -71,10 +71,10 @@ func (p *processor) Unboost(account *gtsmodel.Account, application *gtsmodel.App
|
|||
}
|
||||
|
||||
// pin some stuff onto the boost while we have it out of the db
|
||||
gtsBoost.GTSBoostedStatus = targetStatus
|
||||
gtsBoost.GTSBoostedStatus.GTSAuthorAccount = targetAccount
|
||||
gtsBoost.GTSBoostedAccount = targetAccount
|
||||
gtsBoost.GTSAuthorAccount = account
|
||||
gtsBoost.BoostOf = targetStatus
|
||||
gtsBoost.BoostOf.Account = targetAccount
|
||||
gtsBoost.BoostOfAccount = targetAccount
|
||||
gtsBoost.Account = account
|
||||
|
||||
// send it back to the processor for async processing
|
||||
p.fromClientAPI <- gtsmodel.FromClientAPI{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue