From 9d476ce9cdd0174116feda3d6d658cb3707b9bff Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 5 Jul 2019 17:06:02 +0200 Subject: [PATCH] Fix error in the console --- www/common/outer/mailbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/mailbox.js b/www/common/outer/mailbox.js index 08e7b9351..517bea017 100644 --- a/www/common/outer/mailbox.js +++ b/www/common/outer/mailbox.js @@ -341,8 +341,8 @@ proxy.mailboxes = { var req = ctx.req[txid]; var type = parsed[0]; var _msg = parsed[2]; - var box = req.box; if (!req) { return; } + var box = req.box; if (type === 'HISTORY_RANGE') { if (!Array.isArray(_msg)) { return; }