added deep-scan flag check to event id filtering condition #608

This commit is contained in:
DustInDark
2022-06-29 00:07:12 +09:00
parent d002af6f54
commit af94f582c4

View File

@@ -593,11 +593,15 @@ impl App {
continue;
}
// target_eventids.txtでフィルタする。
// target_eventids.txtでイベントIDベースでフィルタする。
let data = record_result.as_ref().unwrap().data.clone();
let timestamp = record_result.unwrap().timestamp;
if !self._is_target_event_id(&data) && !configs::CONFIG.read().unwrap().args.deep_scan {
continue;
}
if !self._is_target_event_id(&data) || !time_filter.is_target(&Some(timestamp)) {
// EventID側の条件との条件の混同を防ぐため時間でのフィルタリングの条件分岐を分離した
let timestamp = record_result.unwrap().timestamp;
if !time_filter.is_target(&Some(timestamp)) {
continue;
}