diff --git a/packages/desktop/package.json b/packages/desktop/package.json index f824dfc..200fadd 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -42,8 +42,8 @@ [ "@electron-forge/plugin-webpack", { - "port": "4002", - "loggerPort": "9002", + "port": "4005", + "loggerPort": "9005", "mainConfig": "./webpack.main.config.js", "devContentSecurityPolicy": "default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;", "renderer": { diff --git a/packages/desktop/src/providers/ConversationProvider.tsx b/packages/desktop/src/providers/ConversationProvider.tsx index a97acaa..9dac84a 100644 --- a/packages/desktop/src/providers/ConversationProvider.tsx +++ b/packages/desktop/src/providers/ConversationProvider.tsx @@ -537,6 +537,7 @@ function Room({ localPeerConnection.on('close', () => { // the person will be removed from the tuned in list, but the connections here are decoupled from that flow // we want to manage the room within the master conversation and remove it for ourselves + // !this is false, see unmount, we are relying on tuned list for disconnections setConversationMap((draft) => { if (draft[conversation._id.toString()].room[otherUserId]) { @@ -635,6 +636,7 @@ function Room({ peerForMeAndNewbie.on('close', () => { // the person will be removed from the tuned in list, but the connections here are decoupled from that flow // we want to manage the room within the master conversation and remove it for ourselves + // !this is false, see unmount, we are relying on tuned list for disconnections setConversationMap((draft) => { if (draft[conversation._id.toString()].room[res.userWhoCalled]) {