mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 16:55:16 +00:00
Add ToDo
This commit is contained in:
parent
e18e90f8df
commit
d2b464582f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue