summaryrefslogtreecommitdiff
path: root/internal/typeutils
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-05-29 19:45:07 +0200
commit5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0 (patch)
tree40ae75c3613c9c6915273f98fe7ce41046d11381 /internal/typeutils
parentfirst implementation of search feature (diff)
parentSearch (#36) (diff)
downloadgotosocial-5facbed9c04d1b2e11bf5b842a6acda3a9ed54c0.tar.xz
Merge branch 'main' of github.com:superseriousbusiness/gotosocial into main
Diffstat (limited to 'internal/typeutils')
-rw-r--r--internal/typeutils/converter.go2
-rw-r--r--internal/typeutils/internal.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/internal/typeutils/converter.go b/internal/typeutils/converter.go
index 9cd7ad9b4..ab680fbdd 100644
--- a/internal/typeutils/converter.go
+++ b/internal/typeutils/converter.go
@@ -145,7 +145,7 @@ type TypeConverter interface {
/*
WRAPPER CONVENIENCE FUNCTIONS
*/
-
+
// WrapPersonInUpdate
WrapPersonInUpdate(person vocab.ActivityStreamsPerson, originAccount *gtsmodel.Account) (vocab.ActivityStreamsUpdate, error)
}
diff --git a/internal/typeutils/internal.go b/internal/typeutils/internal.go
index 3110b382c..626509b34 100644
--- a/internal/typeutils/internal.go
+++ b/internal/typeutils/internal.go
@@ -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: "",