diff --git a/js/models/conversations.js b/js/models/conversations.js index 0e1b9c9d6..3d1a8c7ea 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -978,6 +978,12 @@ direction: 'incoming', }); await window.libloki.storage.removeContactPreKeyBundle(this.id); + await this.destroyMessages(); + window.pushToast({ + title: i18n('friendRequestDeclined'), + type: 'success', + id: 'declineFriendRequest', + }); }, // We have accepted an incoming friend request async onAcceptFriendRequest(options = {}) {