fix bug where the mailbox would get connected twice

This commit is contained in:
marlon-erler
2024-07-25 16:45:49 +02:00
parent c9d74972b8
commit 446b205a79
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -3430,7 +3430,6 @@
this.connectionChangeHandlerManager.trigger(); this.connectionChangeHandlerManager.trigger();
if (this.isConnected == false) return; if (this.isConnected == false) return;
if (this.address == void 0) return; if (this.address == void 0) return;
this.connectMailbox();
this.storeAddress(this.address); this.storeAddress(this.address);
this.sendSubscriptionRequest(); this.sendSubscriptionRequest();
this.sendMessagesInOutbox(); this.sendMessagesInOutbox();
-1
View File
@@ -36,7 +36,6 @@ export default class ConnectionModel {
if (this.isConnected == false) return; if (this.isConnected == false) return;
if (this.address == undefined) return; if (this.address == undefined) return;
this.connectMailbox();
this.storeAddress(this.address); this.storeAddress(this.address);
this.sendSubscriptionRequest(); this.sendSubscriptionRequest();
this.sendMessagesInOutbox(); this.sendMessagesInOutbox();