2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index 28c3af7f..ae05fa83 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -517,7 +517,7 @@ export class Channel extends BaseClass {
type: "Group",
id: `https://${webDomain}/fed/channel/${this.id}`,
name: this.name,
- preferredUsername: this.name,
+ preferredUsername: this.id,
summary: this.topic,
icon: undefined,
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index 435ae3c9..f733edd3 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -298,7 +298,7 @@ export class User extends BaseClass {
type: "Person",
id: `https://${webDomain}/fed/user/${this.id}`,
name: this.username,
- preferredUsername: this.username,
+ preferredUsername: this.id,
summary: this.bio,
icon: this.avatar
? [
|