aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorAnthony Wang2023-02-18 17:15:14 +0000
committerAnthony Wang2023-02-18 17:15:14 +0000
commit07df0a6b1c97be4b03d23d5dfa047a108de36592 (patch)
treedc3d03ce27664a0df32ca3415ae8939b4a3dcd0c /services
parente61e9fba59d6e6f0eb86869e07d9d52867384132 (diff)
Switch back to mainline go-ap
Marius merged my last go-ap patch (https://lists.sr.ht/~mariusor/activitypub-go/%3Cf23190d1-1376-6ad1-63ee-9c0d291d1eb5%40exozy.me%3E#%3C20230218114214.b5hecpabruk66g7r@slate%3E) so we no longer have to use my custom fork
Diffstat (limited to 'services')
-rw-r--r--services/activitypub/transport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/activitypub/transport.go b/services/activitypub/transport.go
index a7621e2f1..934852ac7 100644
--- a/services/activitypub/transport.go
+++ b/services/activitypub/transport.go
@@ -48,7 +48,7 @@ func FetchObject(iri string) (ap.ObjectOrLink, error) {
}
ap.ItemTyperFunc = forgefed.GetItemByType
ap.JSONItemUnmarshal = forgefed.JSONUnmarshalerFn
- ap.NotEmptyChecker = forgefed.NotEmpty
+ ap.IsNotEmpty = forgefed.NotEmpty
return ap.UnmarshalJSON(resp)
}