This commit is contained in:
tsmethurst 2021-06-21 15:50:55 +02:00
parent ef3d38240b
commit dea4941b4a
2 changed files with 4 additions and 4 deletions

View File

@ -41,11 +41,11 @@ func (p *processor) Unboost(account *gtsmodel.Account, application *gtsmodel.App
gtsBoost := &gtsmodel.Status{}
where := []db.Where{
{
Key: "boost_of_id",
Key: "boost_of_id",
Value: targetStatusID,
},
{
Key: "account_id",
Key: "account_id",
Value: account.ID,
},
}

View File

@ -9,9 +9,9 @@ import (
func (t *timeline) Remove(statusID string) (int, error) {
l := t.log.WithFields(logrus.Fields{
"func": "Remove",
"func": "Remove",
"accountTimeline": t.accountID,
"statusID": statusID,
"statusID": statusID,
})
t.Lock()
defer t.Unlock()