sforkowany z mirror/friendica
Only transfer posts via mail
rodzic
faa63632bf
commit
a6a79d9c7e
|
@ -15,6 +15,7 @@ use Friendica\Model;
|
|||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Protocol\Diaspora;
|
||||
use Friendica\Protocol\Email;
|
||||
use Friendica\Protocol\Activity;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Core\Worker;
|
||||
|
@ -499,6 +500,10 @@ class Delivery extends BaseObject
|
|||
if (!in_array($cmd, [self::POST, self::POKE])) {
|
||||
return;
|
||||
}
|
||||
Logger::info('Blubb', $target_item);
|
||||
if ($target_item['verb'] != Activity::POST) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!empty($thr_parent['object'])) {
|
||||
$data = json_decode($thr_parent['object'], true);
|
||||
|
|
Ładowanie…
Reference in New Issue