forked from GNUsocial/gnu-social
Maintainer change for Ostatus_profile
This commit is contained in:
parent
d4fc064e44
commit
268b901048
@ -17,13 +17,12 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('STATUSNET')) {
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package OStatusPlugin
|
* @package OStatusPlugin
|
||||||
* @maintainer Brion Vibber <brion@status.net>
|
* @author Brion Vibber <brion@status.net>
|
||||||
|
* @maintainer Mikael Nordfeldth <mmn@hethane.se>
|
||||||
*/
|
*/
|
||||||
class Ostatus_profile extends Managed_DataObject
|
class Ostatus_profile extends Managed_DataObject
|
||||||
{
|
{
|
||||||
@ -1746,11 +1745,8 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
throw new Exception(_m('Not a valid webfinger address.'));
|
throw new Exception(_m('Not a valid webfinger address.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$hints = array('webfinger' => $addr);
|
$hints = array_merge(array('webfinger' => $addr),
|
||||||
|
DiscoveryHints::fromXRD($xrd));
|
||||||
$dhints = DiscoveryHints::fromXRD($xrd);
|
|
||||||
|
|
||||||
$hints = array_merge($hints, $dhints);
|
|
||||||
|
|
||||||
// If there's an Hcard, let's grab its info
|
// If there's an Hcard, let's grab its info
|
||||||
if (array_key_exists('hcard', $hints)) {
|
if (array_key_exists('hcard', $hints)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user