fix alsoKnownAs federation
This commit is contained in:
parent
6e9c62a1a2
commit
1f9ad0f61b
|
@ -72,6 +72,7 @@ export async function renderPerson(user: ILocalUser) {
|
||||||
tag,
|
tag,
|
||||||
manuallyApprovesFollowers: user.isLocked,
|
manuallyApprovesFollowers: user.isLocked,
|
||||||
movedToUri: user.movedToUri,
|
movedToUri: user.movedToUri,
|
||||||
|
alsoKnownAs: user.alsoKnownAs,
|
||||||
discoverable: !!user.isExplorable,
|
discoverable: !!user.isExplorable,
|
||||||
publicKey: renderKey(user, keypair, '#main-key'),
|
publicKey: renderKey(user, keypair, '#main-key'),
|
||||||
isCat: user.isCat,
|
isCat: user.isCat,
|
||||||
|
|
|
@ -15,6 +15,7 @@ defineProps<{
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background: var(--infoWarnBg);
|
background: var(--infoWarnBg);
|
||||||
color: var(--infoWarnFg);
|
color: var(--infoWarnFg);
|
||||||
|
font-size: 0.85rem;
|
||||||
|
|
||||||
> .link {
|
> .link {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
|
|
|
@ -75,7 +75,7 @@ export class Hpml {
|
||||||
SEED: opts.randomSeed ? opts.randomSeed : '',
|
SEED: opts.randomSeed ? opts.randomSeed : '',
|
||||||
YMD: `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`,
|
YMD: `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`,
|
||||||
AISCRIPT_DISABLED: !this.opts.enableAiScript,
|
AISCRIPT_DISABLED: !this.opts.enableAiScript,
|
||||||
NULL: null
|
NULL: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.eval();
|
this.eval();
|
||||||
|
|
Loading…
Reference in New Issue