Reworked contact relations between Friendica and Diaspora

This commit is contained in:
Michael Vogel
2015-10-10 11:06:18 +02:00
parent ab0fbc3a65
commit efbdb57f92
5 changed files with 15 additions and 11 deletions

View File

@@ -897,7 +897,8 @@ function item_photo_menu($item){
if ($a->contacts[$clean_url]['network'] === NETWORK_DFRN)
$menu[t("Poke")] = $poke_link;
if (($cid == 0) AND in_array($item['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA)))
if (($cid == 0) AND
in_array($item['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA)))
$menu[t("Connect/Follow")] = $a->get_baseurl($ssl_state)."/follow?url=".urlencode($item['author-link']);
$args = array('item' => $item, 'menu' => $menu);