Don't check the date on regular feeds

This commit is contained in:
Michael 2020-07-11 16:29:18 +00:00
parent 52b2f67644
commit fb18325b6b

View File

@ -2200,7 +2200,7 @@ class OStatus
$last_update = 'now -30 days'; $last_update = 'now -30 days';
} }
$check_date = DateTimeFormat::utc($last_update); $check_date = $feed_mode ? '' : DateTimeFormat::utc($last_update);
$authorid = Contact::getIdForURL($owner["url"], 0, true); $authorid = Contact::getIdForURL($owner["url"], 0, true);
$condition = ["`uid` = ? AND `received` > ? AND NOT `deleted` $condition = ["`uid` = ? AND `received` > ? AND NOT `deleted`