mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Replace "Probe::uri" with "Contact::getByURL"
This commit is contained in:
parent
c352af8eda
commit
d6bf7f2cda
7 changed files with 18 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue