Decline a friend request

This commit is contained in:
yflory
2019-05-23 15:25:05 +02:00
parent 67e39253cf
commit 06a07d069e
5 changed files with 25 additions and 3 deletions

View File

@@ -945,6 +945,12 @@ define([
return;
}
// Otherwise, just remove the notification
store.mailbox.sendTo('DECLINE_FRIEND_REQUEST', {}, {
channel: msg.content.notifications,
curvePublic: msg.content.curvePublic
}, function (obj) {
cb(obj);
});
dismiss();
};
Store.sendFriendRequest = function (clientId, data, cb) {