This commit is contained in:
erik 2023-11-14 15:29:00 +01:00 committed by Michael Jerger
parent e18e90f8df
commit d2b464582f

View file

@ -36,7 +36,7 @@ type Star struct {
}
// 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)
o := Star{Activity: *a, Source: ForgejoSourceType}
return &o