hechengjin 发表于 2016-3-27 22:00:04

邮件夹优先级


高级搜索中有些邮件夹的数据搜索不出来是因为其优先级设置了-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;


页: [1]
查看完整版本: 邮件夹优先级