diff options
author | 2023-01-27 14:48:11 +0100 | |
---|---|---|
committer | 2023-01-27 14:48:11 +0100 | |
commit | 3283900b0d0b98e5ca956f61ce09ab373cf0cbe8 (patch) | |
tree | f7dc654ea2d510e0c02d63d8a174908f1e25c680 /internal/ap | |
parent | [docs] Add Flag documentation to federation docs (#1393) (diff) | |
download | gotosocial-3283900b0d0b98e5ca956f61ce09ab373cf0cbe8.tar.xz |
[feature] Federate reports to remote instance as Flag (if desired) (#1386)
* reports federate out, we did it lxds
* fix optional line start (should be optional slash)
Diffstat (limited to 'internal/ap')
-rw-r--r-- | internal/ap/extract.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/extract.go b/internal/ap/extract.go index 20420e02c..ab51b0858 100644 --- a/internal/ap/extract.go +++ b/internal/ap/extract.go @@ -621,7 +621,7 @@ func ExtractActor(i WithActor) (*url.URL, error) { return nil, errors.New("no iri found for actor prop") } -// ExtractObject extracts a URL object from a WithObject interface. +// ExtractObject extracts the first URL object from a WithObject interface. func ExtractObject(i WithObject) (*url.URL, error) { objectProp := i.GetActivityStreamsObject() if objectProp == nil { |