mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Improved detection for a local contact
This commit is contained in:
parent
424a85bb94
commit
aa6313dee6
3 changed files with 24 additions and 3 deletions
|
@ -333,7 +333,7 @@ class Probe
|
|||
public static function uri($uri, $network = '', $uid = -1)
|
||||
{
|
||||
// Local profiles aren't probed via network
|
||||
if (empty($network) && strpos($uri, DI::baseUrl()->getHostname())) {
|
||||
if (empty($network) && Contact::isLocal($uri)) {
|
||||
$data = self::localProbe($uri);
|
||||
if (!empty($data)) {
|
||||
return $data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue