1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
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