Replace "Probe::uri" with "Contact::getByURL"

This commit is contained in:
Michael 2020-07-16 10:22:14 +00:00
parent c352af8eda
commit d6bf7f2cda
7 changed files with 18 additions and 20 deletions

View file

@ -27,7 +27,6 @@ use Friendica\Core\Worker;
use Friendica\DI;
use Friendica\Database\DBA;
use Friendica\Model\Notify\Type;
use Friendica\Network\Probe;
use Friendica\Protocol\Activity;
use Friendica\Util\DateTimeFormat;
use Friendica\Worker\Delivery;
@ -267,7 +266,7 @@ class Mail
$guid = System::createUUID();
$uri = Item::newURI(local_user(), $guid);
$me = Probe::uri($replyto);
$me = Contact::getByURL($replyto);
if (!$me['name']) {
return -2;
}