mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 23:42:28 +00:00
add comment
This commit is contained in:
parent
5729cee3e5
commit
5c998a5c46
|
@ -83,6 +83,7 @@ func RepositoryInbox(ctx *context.APIContext) {
|
||||||
log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor)
|
log.Info("RepositoryInbox: Activity.Actor %v", opt.Actor)
|
||||||
|
|
||||||
// assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary.
|
// assume actor is: "actor": "https://codeberg.org/api/v1/activitypub/user-id/12345" - NB: This might be actually the ID? Maybe check vocabulary.
|
||||||
|
// TODO: validate input in front of parsing.
|
||||||
// parse actor
|
// parse actor
|
||||||
actor, err := activitypub.ParseActorData(opt.Actor.GetID().String())
|
actor, err := activitypub.ParseActorData(opt.Actor.GetID().String())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue