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();