mirror of
https://github.com/friendica/friendica
synced 2025-05-23 19:04:12 +02:00
Delay unprepared posts
This commit is contained in:
parent
c787281eff
commit
0eb4a600b0
8 changed files with 58 additions and 25 deletions
|
@ -656,8 +656,7 @@ class Feed
|
|||
}
|
||||
$publish_at = date(DateTimeFormat::MYSQL, $publish_time);
|
||||
|
||||
Post\Delayed::add($publish_at, $posting['item'], $posting['notify'], $posting['taglist'], $posting['attachments']);
|
||||
DI::pConfig()->set($item['uid'], 'system', 'last_publish', $next_publish);
|
||||
Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], false, $publish_at, $posting['taglist'], $posting['attachments']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue