mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
fix multiple federation in one host
This commit is contained in:
parent
41f066a1a6
commit
c908455998
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ func SendLikeActivities(ctx context.Context, doer user.User, repoID int64) error
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for _, activity := range likeActivityList {
|
for i, activity := range likeActivityList {
|
||||||
|
activity.StartTime = activity.StartTime.Add(time.Duration(i) * time.Second)
|
||||||
json, err := activity.MarshalJSON()
|
json, err := activity.MarshalJSON()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue