Experimental feature to enter a custom creation date

This commit is contained in:
Michael 2022-04-13 05:31:32 +00:00
parent d5f0829cad
commit 0d8cf06e4a
12 changed files with 306 additions and 270 deletions

View file

@ -869,7 +869,7 @@ class Item
$item["contact-id"] = self::contactId($item);
if (!empty($item['direction']) && in_array($item['direction'], [Conversation::PUSH, Conversation::RELAY]) &&
self::isTooOld($item)) {
empty($item['origin']) &&self::isTooOld($item)) {
Logger::info('Item is too old', ['item' => $item]);
return 0;
}