From: Michael Vogel Date: Fri, 20 Feb 2015 22:56:41 +0000 (+0100) Subject: Only show the relation on native networks. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8179f2f65ee589351f1ee6368c1230382898be50;p=friendica.git Only show the relation on native networks. --- diff --git a/mod/contacts.php b/mod/contacts.php index 515d9d5dcb..ea16e1475c 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -405,6 +405,9 @@ function contacts_content(&$a) { break; } + if(!in_array($contact['network'], array(NETWORK_DFRN, NETWORK_OSTATUS, NETWORK_DIASPORA))) + $relation_text = ""; + $relation_text = sprintf($relation_text,$contact['name']); if(($contact['network'] === NETWORK_DFRN) && ($contact['rel'])) { diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl index b43560ef78..9d5063146e 100644 --- a/view/templates/contact_edit.tpl +++ b/view/templates/contact_edit.tpl @@ -16,7 +16,9 @@