maybe ghostmode fix now?
This commit is contained in:
@@ -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}`,
|
||||||
|
|||||||
@@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user