mirror of
https://github.com/friendica/friendica
synced 2025-04-27 09:10:12 +00:00
Item distribution is now done via the public post
This commit is contained in:
parent
7230cc0bed
commit
5cf745af44
4 changed files with 102 additions and 59 deletions
|
@ -2773,6 +2773,10 @@ class DFRN
|
|||
if ($posted_id) {
|
||||
logger("Reply from contact ".$item["contact-id"]." was stored with id ".$posted_id, LOGGER_DEBUG);
|
||||
|
||||
IF ($item['uid'] == 0) {
|
||||
Item::distribute($posted_id);
|
||||
}
|
||||
|
||||
$item["id"] = $posted_id;
|
||||
|
||||
$r = q(
|
||||
|
@ -2827,6 +2831,10 @@ class DFRN
|
|||
|
||||
logger("Item was stored with id ".$posted_id, LOGGER_DEBUG);
|
||||
|
||||
if ($item['uid'] == 0) {
|
||||
Item::distribute($posted_id);
|
||||
}
|
||||
|
||||
if (stristr($item["verb"], ACTIVITY_POKE)) {
|
||||
self::doPoke($item, $importer, $posted_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue