From 84a3cd747ffac82f71d4b8f9a6a2f6f1ecf01f57 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 15 Aug 2018 12:12:49 +0200 Subject: [PATCH] Revert "Change contact post link to contact network page" This reverts commit 4c32661022ae2cabb548333862e3974b75678980. --- include/conversation.php | 2 +- src/Model/Contact.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index b73a6d61cc..3ceccf36ae 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 = 'network?cid=' . $cid; + $posts_link = 'contacts/' . $cid . '/posts'; 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 760a563a41..b18159d40c 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() . '/network?cid=' . $contact['id']; + $posts_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/posts'; if (!$contact['self']) { $contact_drop_link = System::baseUrl() . '/contacts/' . $contact['id'] . '/drop?confirm=1'; -- 2.39.5