diff --git a/app/src/renderer/apps/Rooms/store/Peer.ts b/app/src/renderer/apps/Rooms/store/Peer.ts index f37765e240..cfa72df16e 100644 --- a/app/src/renderer/apps/Rooms/store/Peer.ts +++ b/app/src/renderer/apps/Rooms/store/Peer.ts @@ -398,7 +398,7 @@ export class PeerClass extends EventsEmitter { @action sendData(data: Partial) { try { - if (this.peer) { + if (this.peer && this.peer.connected) { this.peer.send(serialize(data)); } } catch (e) {