mirror of https://github.com/xwiki-labs/cryptpad
Add the mailboxes channels to the pin list
This commit is contained in:
parent
991c56fec3
commit
38f8535dd5
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue