Added option to define a schedule date when posting items

This commit is contained in:
Michael 2021-08-01 13:01:31 +00:00
parent 9641944c4f
commit 2e2d1bf81d
11 changed files with 224 additions and 174 deletions

View file

@ -1143,6 +1143,9 @@ class Item
if (!$dontcache) {
if ($notify) {
if (!\Friendica\Content\Feature::isEnabled($posted_item['uid'], 'explicit_mentions') && ($posted_item['gravity'] == GRAVITY_COMMENT)) {
Tag::createImplicitMentions($posted_item['uri-id'], $posted_item['thr-parent-id']);
}
Hook::callAll('post_local_end', $posted_item);
} else {
Hook::callAll('post_remote_end', $posted_item);