Add the mailboxes channels to the pin list

This commit is contained in:
yflory 2019-05-22 15:38:27 +02:00
parent 991c56fec3
commit 38f8535dd5
1 changed files with 7 additions and 0 deletions

View File

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