First implementation of search functionality for remote account and status lookups.
This commit is contained in:
Tobi Smethurst
2021-05-29 19:39:43 +02:00
committed by GitHub
parent cb54324430
commit 1fe5e36ac3
22 changed files with 769 additions and 26 deletions

View File

@@ -40,10 +40,10 @@ func (c *converter) StatusToBoost(s *gtsmodel.Status, boostingAccount *gtsmodel.
URL: boostWrapperStatusURL,
// the boosted status is not created now, but the boost certainly is
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Local: local,
AccountID: boostingAccount.ID,
CreatedAt: time.Now(),
UpdatedAt: time.Now(),
Local: local,
AccountID: boostingAccount.ID,
// replies can be boosted, but boosts are never replies
InReplyToID: "",