mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user