]> git.mxchange.org Git - friendica.git/commitdiff
API: Show the remote profile so that AndStatus uses the correct webfinger address
authorMichael Vogel <icarus@dabo.de>
Mon, 23 Nov 2015 18:16:27 +0000 (19:16 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 23 Nov 2015 18:16:27 +0000 (19:16 +0100)
include/api.php

index caa43649efca4fc2ab00331bc3e4fd9fc6b9704e..531b66814f16ba81d6a82e48539b84b146920b52 100644 (file)
                        'verified' => true,
                        'statusnet_blocking' => false,
                        'notifications' => false,
-                       'statusnet_profile_url' => $a->get_baseurl()."/contacts/".$uinfo[0]['cid'],
+                       //'statusnet_profile_url' => $a->get_baseurl()."/contacts/".$uinfo[0]['cid'],
+                       'statusnet_profile_url' => $uinfo[0]['url'],
                        'uid' => intval($uinfo[0]['uid']),
                        'cid' => intval($uinfo[0]['cid']),
                        'self' => $uinfo[0]['self'],