forked from FoundKeyGang/FoundKey
activitypub: fix parsing users without sharedInbox
This commit is contained in:
parent
e2779befe6
commit
d293fc1dc7
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ async function validateActor(x: IObject, resolver: Resolver): Promise<IActor> {
|
|||
}
|
||||
|
||||
// unify different sharedInbox places
|
||||
x.sharedInbox = x.sharedInbox ?? x.endpoints?.sharedInbox;
|
||||
x.sharedInbox = x.sharedInbox ?? x.endpoints?.sharedInbox ?? null;
|
||||
if (x.sharedInbox != null) {
|
||||
// check that sharedInbox is a valid and absolute URL
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue