maybe ghostmode fix now?

This commit is contained in:
nocnico
2025-07-25 17:43:05 +02:00
parent b602a5836c
commit 2671571bfb
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -177,6 +177,7 @@ export const useAudioStore = create<TalkState>((set, get) => ({
if (dispatchState.status === "connected" && dispatchState.connectedDispatcher?.id) { if (dispatchState.status === "connected" && dispatchState.connectedDispatcher?.id) {
changeDispatcherAPI(dispatchState.connectedDispatcher?.id, { changeDispatcherAPI(dispatchState.connectedDispatcher?.id, {
zone: roomName, zone: roomName,
ghostMode: dispatchState.ghostMode,
}); });
} }