mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(federation): ✨ Store remote instance shared inbox and extensions as well
This commit is contained in:
parent
5fc6c4dcfa
commit
7a73a1a24e
6 changed files with 2253 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue