diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts index 28c3af7fa..ae05fa831 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 435ae3c9b..f733edd3d 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 ? [