From 44688026d65cb5019ff02ad6bd91910d837d0a0d Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 10 Aug 2021 19:53:56 +0530 Subject: [PATCH] exclude ids with invalid lengths from our list of owned documents --- www/common/outer/async-store.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index d8e558dad..c4702727d 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -775,7 +775,10 @@ define([ } }); } - return list; + return list.filter(function (channel) { + if (typeof(channel) !== 'string') { return; } + return [32, 48].indexOf(channel.length) !== -1; + }); }; var removeOwnedPads = function (waitFor) { // Delete owned pads