Merge pull request #8864 from annando/feed-date

Don't check the date on regular feeds
This commit is contained in:
Hypolite Petovan 2020-07-11 14:13:37 -04:00 committed by GitHub
commit db7736c566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2200,7 +2200,7 @@ class OStatus
$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);
$condition = ["`uid` = ? AND `received` > ? AND NOT `deleted`