fixed #100 // fix Marker Cluster naming, fix Marker Popup settings not used

This commit is contained in:
nocnico
2025-07-25 16:39:21 +02:00
parent 26e7966e19
commit 4eb46cb783
3 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ export const handleConnectDispatch =
userId: user.id,
},
});
if (discordAccount?.id) {
if (discordAccount?.id && !ghostMode) {
await renameMember(
discordAccount.discordId.toString(),
`${getPublicUser(user).fullName}${selectedZone}`,
@@ -99,7 +99,7 @@ export const handleConnectDispatch =
io.to("dispatchers").emit("dispatchers-update");
io.to("pilots").emit("dispatchers-update");
if (discordAccount?.id) {
if (discordAccount?.id && !ghostMode) {
await renameMember(
discordAccount.discordId.toString(),
`${getPublicUser(user).fullName} - ${user.publicId}`,