From 446b205a79599456b3db3d877703327c0030d92b Mon Sep 17 00:00:00 2001 From: marlon-erler Date: Thu, 25 Jul 2024 16:45:49 +0200 Subject: [PATCH] fix bug where the mailbox would get connected twice --- dist/index.js | 1 - src/Model/Global/connectionModel.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index ae345387..574caec0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3430,7 +3430,6 @@ this.connectionChangeHandlerManager.trigger(); if (this.isConnected == false) return; if (this.address == void 0) return; - this.connectMailbox(); this.storeAddress(this.address); this.sendSubscriptionRequest(); this.sendMessagesInOutbox(); diff --git a/src/Model/Global/connectionModel.ts b/src/Model/Global/connectionModel.ts index be85766d..1da1b689 100644 --- a/src/Model/Global/connectionModel.ts +++ b/src/Model/Global/connectionModel.ts @@ -36,7 +36,6 @@ export default class ConnectionModel { if (this.isConnected == false) return; if (this.address == undefined) return; - this.connectMailbox(); this.storeAddress(this.address); this.sendSubscriptionRequest(); this.sendMessagesInOutbox();