mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-09 00:41:22 +00:00
(js) Test threadsCollapsed settings before read
This commit is contained in:
@@ -166,8 +166,10 @@
|
||||
this.id = this.$id();
|
||||
this.$acl = new Mailbox.$$Acl('Mail/' + this.id);
|
||||
if (this.threaded) {
|
||||
this.$collapsedThreads = Mailbox.$Preferences.settings.Mail.threadsCollapsed['/' + this.id] || [];
|
||||
}
|
||||
this.$collapsedThreads = [];
|
||||
if (Mailbox.$Preferences.settings.Mail.threadsCollapsed && Mailbox.$Preferences.settings.Mail.threadsCollapsed['/' + this.id]) {
|
||||
this.$collapsedThreads = Mailbox.$Preferences.settings.Mail.threadsCollapsed['/' + this.id];
|
||||
}
|
||||
}
|
||||
this.$displayName = this.name;
|
||||
if (this.type) {
|
||||
|
||||
Reference in New Issue
Block a user