From 38f8535dd56ae5c8ce5afda9ab381a0ea568dbe6 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 22 May 2019 15:38:27 +0200 Subject: [PATCH] Add the mailboxes channels to the pin list --- www/common/outer/async-store.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index ac02e3ce3..bcf3685ec 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -123,6 +123,13 @@ define([ list = list.concat(fList); } + if (store.proxy.mailboxes) { + var mList = Object.keys(store.proxy.mailboxes).map(function (m) { + return store.proxy.mailboxes[m].channel; + }); + list = list.concat(mList); + } + list.push(userChannel); list.sort();