1
0
Fork 0

Revert "Change contact post link to contact network page"

This reverts commit 4c32661022.
This commit is contained in:
Hypolite Petovan 2018-08-15 12:12:49 +02:00
parent 4c32661022
commit 84a3cd747f
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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';