diff --git a/commons/src/message-transporters/message-transporter.ts b/commons/src/message-transporters/message-transporter.ts index b11213b7c..0e3dbe032 100644 --- a/commons/src/message-transporters/message-transporter.ts +++ b/commons/src/message-transporters/message-transporter.ts @@ -44,10 +44,6 @@ export class MessageTransporter extends EventEmitter2 { return } - if (this.transportAdapter === undefined) { - throw new Error('no transport adapter set') - } - try { this.transportAdapter.send(content) } catch (error: unknown) { @@ -87,9 +83,6 @@ export class MessageTransporter extends EventEmitter2 { this.processReadyAnswer() return } - if (!this.isReady()) { - return - } this.emit(message.type, message) }