mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
remove conversation when friendrequest is declined
This commit is contained in:
parent
34fde5f71a
commit
6209d7d2e2
|
@ -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 = {}) {
|
||||
|
|
Loading…
Reference in a new issue