From e1b8d0bc6c81b9bb37f3f1ce441a5b5eca33c3e2 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 23 May 2019 16:13:51 +0200 Subject: [PATCH] Fix friend request issue --- www/common/outer/mailbox-handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/mailbox-handlers.js b/www/common/outer/mailbox-handlers.js index 72a444a6d..e174c15bf 100644 --- a/www/common/outer/mailbox-handlers.js +++ b/www/common/outer/mailbox-handlers.js @@ -17,7 +17,7 @@ define([ }; handlers['DECLINE_FRIEND_REQUEST'] = function (ctx, box, data, cb) { // Our friend request was declined. - if (!ctx.store.proxy.friends_pending[data.msg.author]) { return void cb(true); } + if (!ctx.store.proxy.friends_pending[data.msg.author]) { return void cb(); } delete ctx.store.proxy.friends_pending[data.msg.author]; ctx.updateMetadata(); cb();