update preferredUsername

This commit is contained in:
Madeline
2023-08-14 19:44:15 +10:00
parent 86a6572d77
commit 7ab7c240a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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
? [