Merge pull request #5906 from annando/ap-switch

OStatus contacts are now automatically converted to AP
This commit is contained in:
Hypolite Petovan
2018-10-14 12:04:52 -04:00
committed by GitHub
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)) {