mirror of
1
Fork 0
This commit is contained in:
erik 2023-11-14 15:29:00 +01:00 committed by Michael Jerger
parent e18e90f8df
commit d2b464582f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ type Star struct {
} }
// StarNew initializes a Star type activity // StarNew initializes a Star type activity
func StarNew(id ap.ID, ob ap.ID) *Star { func StarNew(id ap.ID, ob ap.ID) *Star { // ToDo: Currently this function is not used anywhere, so we don't create stars?
a := ap.ActivityNew(id, StarType, ob) a := ap.ActivityNew(id, StarType, ob)
o := Star{Activity: *a, Source: ForgejoSourceType} o := Star{Activity: *a, Source: ForgejoSourceType}
return &o return &o