feat: add personal space visits and editor
This commit is contained in:
@@ -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),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user