feat: add personal space visits and editor

This commit is contained in:
ANG-Server
2026-07-22 13:41:28 +08:00
parent a3341b6a3b
commit b6b32f6676
14 changed files with 288 additions and 135 deletions

View File

@@ -1108,6 +1108,11 @@ export class ChatWebSocketGateway implements OnModuleInit, OnModuleDestroy, ICha
}
private legacyFriend(profile: any) {
return { userId: String(profile.id), username: String(profile.nickname || profile.username || '玩家'), online: Boolean(profile.online) };
return {
userId: String(profile.id),
username: String(profile.nickname || profile.username || '玩家'),
online: Boolean(profile.online),
room_visitable: Boolean(profile.room_visitable),
};
}
}