Issue #713 Arguably, we shouldn't allow poking yourself and stuff either
but I like that, so...
This commit is contained in:
parent
728a0667c5
commit
f852a1f228
@ -915,7 +915,8 @@ function item_photo_menu($item){
|
|||||||
|
|
||||||
if($contact) {
|
if($contact) {
|
||||||
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $contact['abook_id'];
|
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $contact['abook_id'];
|
||||||
$contact_url = $a->get_baseurl($ssl_state) . '/connedit/' . $contact['abook_id'];
|
if (!($contact['abook_flags'] & ABOOK_FLAG_SELF))
|
||||||
|
$contact_url = $a->get_baseurl($ssl_state) . '/connedit/' . $contact['abook_id'];
|
||||||
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $contact['abook_id'];
|
$posts_link = $a->get_baseurl($ssl_state) . '/network/?cid=' . $contact['abook_id'];
|
||||||
|
|
||||||
$clean_url = normalise_link($item['author-link']);
|
$clean_url = normalise_link($item['author-link']);
|
||||||
|
Reference in New Issue
Block a user