mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Merge pull request #5906 from annando/ap-switch
OStatus contacts are now automatically converted to AP
This commit is contained in:
commit
59d6dd809d
7 changed files with 27 additions and 10 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue