diff --git a/classes/recording.php b/classes/recording.php index 90575efb..7a716381 100644 --- a/classes/recording.php +++ b/classes/recording.php @@ -709,7 +709,8 @@ protected static function fetch_records(array $selects, array $params): array { // Filter out if no metadata was fetched. if (!array_key_exists($recording->recordingid, $metadatas)) { // If the recording was successfully fetched, mark it as dismissed if it is older than 30 days. - if (!in_array($recording->recordingid, $failedids) && $withindays > $recording->timecreated) { + + if (!in_array($recording->recordingid, $failedids) && $withindays > $recording->timemodified) { $recording = new self(0, $recording, null); $recording->set_status(self::RECORDING_STATUS_DISMISSED); }