use Friendica\Protocol\Diaspora;
use Friendica\Protocol\Email;
use Friendica\Util\Strings;
+use Friendica\Util\Network;
require_once 'include/items.php';
return;
}
+ if (Network::isUrlBlocked($contact['url'])) {
+ return;
+ }
+
// Transmit via Diaspora if the thread had started as Diaspora post
// This is done since the uri wouldn't match (Diaspora doesn't transmit it)
if (isset($parent) && ($parent['network'] == Protocol::DIASPORA) && ($contact['network'] == Protocol::DFRN)) {