mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 07:39:00 +00:00
update preferredUsername
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
@@ -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
|
||||
? [
|
||||
|
||||
Reference in New Issue
Block a user