summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/entities/Channel.ts2
-rw-r--r--src/util/entities/User.ts2
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 ? [