mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 21:02:24 -05: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:
parent
c59ec6f2a4
commit
3283900b0d
10 changed files with 207 additions and 69 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue