feat(federation): Store remote instance shared inbox and extensions as well

This commit is contained in:
Jesse Wierzbinski 2024-11-25 20:37:00 +01:00
parent 5fc6c4dcfa
commit 7a73a1a24e
No known key found for this signature in database
6 changed files with 2253 additions and 1 deletions

View file

@ -359,6 +359,8 @@ export class Instance extends BaseInterface<typeof Instances> {
logo: metadata.logo,
protocol,
publicKey: metadata.public_key,
inbox: metadata.shared_inbox ?? null,
extensions: metadata.extensions ?? null,
});
}
@ -382,6 +384,8 @@ export class Instance extends BaseInterface<typeof Instances> {
logo: metadata.logo,
protocol,
publicKey: metadata.public_key,
inbox: metadata.shared_inbox ?? null,
extensions: metadata.extensions ?? null,
});
return this;