From: Hypolite Petovan Date: Tue, 14 Aug 2018 22:43:45 +0000 (+0200) Subject: Change contact post link to contact network page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c32661022ae2cabb548333862e3974b75678980;p=friendica.git Change contact post link to contact network page --- diff --git a/include/conversation.php b/include/conversation.php index 3ceccf36ae..b73a6d61cc 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -841,7 +841,7 @@ function item_photo_menu($item) { if ($cid && !$item['self']) { $poke_link = 'poke/?f=&c=' . $cid; $contact_url = 'contacts/' . $cid; - $posts_link = 'contacts/' . $cid . '/posts'; + $posts_link = 'network?cid=' . $cid; if (in_array($network, [Protocol::DFRN, Protocol::DIASPORA])) { $pm_url = 'message/new/' . $cid; diff --git a/src/Model/Contact.php b/src/Model/Contact.php index b18159d40c..760a563a41 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -710,7 +710,7 @@ class Contact extends BaseObject $contact_url = System::baseUrl() . '/contacts/' . $contact['id']; - $posts_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/posts'; + $posts_link = System::baseUrl() . '/network?cid=' . $contact['id']; if (!$contact['self']) { $contact_drop_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/drop?confirm=1';