firemail

标题: 邮件夹优先级 [打印本页]

作者: hechengjin    时间: 2016-3-27 22:00
标题: 邮件夹优先级
高级搜索中有些邮件夹的数据搜索不出来是因为其优先级设置了-1,即global-messages-db.sqlite中不会对其下的数据进行收集。datastore.js
// if there's an indexingPriority stored on the folder, just use that
    let indexingPriority;
    let stringPrio = aFolder.getStringProperty("indexingPriority");
    if (stringPrio.length)
      indexingPriority = parseInt(stringPrio);
    else
      // otherwise, fall back to the default for folders of this type
      indexingPriority = this.getDefaultIndexingPriority(aFolder);

    if ( indexingPriority == -1 )
      indexingPriority = 20;






欢迎光临 firemail (http://firemail.wang:8088/) Powered by Discuz! X3