sforkowany z mirror/friendica
Only automatically reshare items from DFRN and AP
rodzic
bda5d43f1e
commit
8da8d3c4fd
|
@ -2802,6 +2802,10 @@ class Item
|
|||
return;
|
||||
}
|
||||
|
||||
if (!in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN])) {
|
||||
return;
|
||||
}
|
||||
|
||||
Logger::info('Automatically reshare item', ['uid' => $item['uid'], 'id' => $item['id'], 'guid' => $item['guid'], 'uri-id' => $item['uri-id']]);
|
||||
|
||||
Item::performActivity($item['id'], 'announce', $item['uid']);
|
||||
|
|
Ładowanie…
Reference in New Issue