summary refs log tree commit diff
path: root/src/gateway/opcodes/LazyRequest.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/opcodes/LazyRequest.ts')
-rw-r--r--src/gateway/opcodes/LazyRequest.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/LazyRequest.ts b/src/gateway/opcodes/LazyRequest.ts
index 69952c7f..e54f64a6 100644
--- a/src/gateway/opcodes/LazyRequest.ts
+++ b/src/gateway/opcodes/LazyRequest.ts
@@ -118,7 +118,7 @@ async function getMembers(guild_id: string, range: [number, number]) {
 				member: {
 					...member,
 					roles,
-					user: { ...member.user, sessions: undefined },
+					user: member.user.toPublicUser(),
 					presence: {
 						...session,
 						activities: session?.activities || [],