aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-04-05 10:58:07 -0500
committerAnthony Wang2022-04-05 10:58:07 -0500
commit530175e03017c0b11c3a0dcc34a6e136839963ce (patch)
treec4e29cd183e861e662142b225a01c43fad69bfdc
parent49b8518b112e696146c60971a527efd2c50bb7df (diff)
Implement pub.database InboxForActor function
-rw-r--r--modules/activitypub/database.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/activitypub/database.go b/modules/activitypub/database.go
index 55a9145e6..0d5c50750 100644
--- a/modules/activitypub/database.go
+++ b/modules/activitypub/database.go
@@ -299,6 +299,11 @@ func (m *myDB) OutboxForInbox(c context.Context,
return url.Parse(inboxIRI.String()[:len(inboxIRI.String())-5] + "outbox")
}
+// https://github.com/go-fed/activity/pull/153
+func (m *myDB) InboxForActor(c context.Context, actorIRI *url.URL) (inboxIRI *url.URL, err error) {
+ return nil, nil
+}
+
func (m *myDB) NewID(c context.Context,
t vocab.Type) (id *url.URL, err error) {
// Generate a new `id` for the ActivityStreams object `t`.