mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
Ensure to always have stored the receivers
This commit is contained in:
parent
5b2b73da92
commit
b58cabdc41
2 changed files with 3 additions and 3 deletions
|
@ -1414,10 +1414,12 @@ class Item
|
|||
}
|
||||
|
||||
if (!empty($source) && ($transmit || DI::config()->get('debug', 'store_source'))) {
|
||||
Post\Activity::insert($item['uri-id'], $source);
|
||||
Post\Activity::insert($posted_item['uri-id'], $source);
|
||||
}
|
||||
|
||||
if ($transmit) {
|
||||
ActivityPub\Transmitter::storeReceiversForItem($posted_item);
|
||||
|
||||
Worker::add(['priority' => $priority, 'dont_fork' => true], 'Notifier', $notify_type, (int)$posted_item['uri-id'], (int)$posted_item['uid']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue