summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-01 20:23:00 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-01 20:23:00 +1000
commit53aed186526bad8a92393f5506df3f20a2470a80 (patch)
tree0985cb4c204956e4246e23180e3d471fef92ba9a /src
parentsome abaddon compat (diff)
downloadserver-53aed186526bad8a92393f5506df3f20a2470a80.tar.xz
remove pomelo disclose, to be added in pomelo impl pr
Diffstat (limited to 'src')
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts
index bab52279..7610901a 100644
--- a/src/gateway/opcodes/Identify.ts
+++ b/src/gateway/opcodes/Identify.ts
@@ -457,7 +457,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
 			lazy_private_channels: [],
 			guilds: [], // { voice_states: [], id: string, embedded_activities: [] }
 			// embedded_activities are users currently in an activity?
-			disclose: ["pomelo"],
+			disclose: [], // Config.get().general.uniqueUsernames ? ["pomelo"] : []
 		},
 	});