OStatus contacts are now automatically converted to AP

This commit is contained in:
Michael 2018-10-13 18:13:01 +00:00
parent 514ec1be6d
commit efad4936b0
7 changed files with 27 additions and 10 deletions

View file

@ -452,7 +452,7 @@ class Receiver
* @param integer $uid User ID
* @param string $url Profile URL
*/
private static function switchContact($cid, $uid, $url)
public static function switchContact($cid, $uid, $url)
{
$profile = ActivityPub::probeProfile($url);
if (empty($profile)) {