diff --git a/js/conversation_controller.js b/js/conversation_controller.js index 5e102420d..852f2c46c 100644 --- a/js/conversation_controller.js +++ b/js/conversation_controller.js @@ -187,6 +187,7 @@ } await conversation.destroyMessages(); + await window.Signal.Data.removeConversation(id, { Conversation: Whisper.Conversation, }); @@ -195,7 +196,7 @@ getOrCreateAndWait(id, type) { return this._initialPromise.then(() => { const conversation = this.getOrCreate(id, type); - +5 if (conversation) { return conversation.initialPromise.then(() => conversation); } diff --git a/js/models/conversations.js b/js/models/conversations.js index 1889996a7..58d09b552 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -2763,7 +2763,9 @@ window.confirmationDialog({ title, message, - resolve: () => ConversationController.deleteContact(this.id), + resolve: () => { + ConversationController.deleteContact(this.id); + }, }); }, diff --git a/package.json b/package.json index bfeb9b735..c8d46a32a 100644 --- a/package.json +++ b/package.json @@ -210,7 +210,7 @@ "node": "^10.13.0" }, "build": { - "appId": "com.loki-project.messenger-desktop", + "appId": "org.getsession.session-desktop", "afterSign": "build/notarize.js", "artifactName": "${name}-${os}-${arch}-${version}.${ext}", "mac": {