From 80ea452b9b32ddb8857b8d89bd0711e3112ed19d Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 19 Jul 2022 10:49:43 -0700 Subject: [PATCH] Calckey as software name, finally! --- packages/backend/src/models/schema/federation-instance.ts | 2 +- packages/backend/src/server/nodeinfo.ts | 2 +- packages/client/src/components/sample.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/models/schema/federation-instance.ts b/packages/backend/src/models/schema/federation-instance.ts index 93327304f..f57509488 100644 --- a/packages/backend/src/models/schema/federation-instance.ts +++ b/packages/backend/src/models/schema/federation-instance.ts @@ -59,7 +59,7 @@ export const packedFederationInstanceSchema = { softwareName: { type: 'string', optional: false, nullable: true, - example: 'misskey', + example: 'calckey', }, softwareVersion: { type: 'string', diff --git a/packages/backend/src/server/nodeinfo.ts b/packages/backend/src/server/nodeinfo.ts index f139d203d..ec5616550 100644 --- a/packages/backend/src/server/nodeinfo.ts +++ b/packages/backend/src/server/nodeinfo.ts @@ -39,7 +39,7 @@ const nodeinfo2 = async () => { return { software: { - name: 'misskey', + name: 'calckey', version: config.version, repository: meta.repositoryUrl, }, diff --git a/packages/client/src/components/sample.vue b/packages/client/src/components/sample.vue index 848daa410..fddadd6e9 100644 --- a/packages/client/src/components/sample.vue +++ b/packages/client/src/components/sample.vue @@ -50,8 +50,8 @@ export default defineComponent({ return { text: '', flag: true, - radio: 'misskey', - mfm: `Hello world! This is an @example mention. BTW you are @${this.$i ? this.$i.username : 'guest'}.\nAlso, here is ${config.url} and [example link](${config.url}). for more details, see https://example.com.\nAs you know #misskey is open-source software.` + radio: 'calckey', + mfm: `Hello world! This is an @example mention. BTW, you are @${this.$i ? this.$i.username : 'guest'}.\nAlso, here is ${config.url} and [example link](${config.url}). for more details, see https://example.com.\nAs you know #misskey is open-source software.` }; },