Issue #713 Arguably, we shouldn't allow poking yourself and stuff either

but I like that, so...
This commit is contained in:
Thomas Willingham 2014-11-29 02:34:49 +00:00
parent 728a0667c5
commit f852a1f228

View File

@ -915,6 +915,7 @@ function item_photo_menu($item){
if($contact) {
$poke_link = $a->get_baseurl($ssl_state) . '/poke/?f=&c=' . $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'];