diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-11-29 02:34:49 +0000 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-11-29 02:34:49 +0000 |
commit | f852a1f2288c8dc5be30e87b5143a674c0b96890 (patch) | |
tree | 26ddf8d27bfb670fc5d754da23adc9d3faf01542 /include/conversation.php | |
parent | 728a0667c502af2a2449469def8d6d922c60943f (diff) | |
download | volse-hubzilla-f852a1f2288c8dc5be30e87b5143a674c0b96890.tar.gz volse-hubzilla-f852a1f2288c8dc5be30e87b5143a674c0b96890.tar.bz2 volse-hubzilla-f852a1f2288c8dc5be30e87b5143a674c0b96890.zip |
Issue #713 Arguably, we shouldn't allow poking yourself and stuff either
but I like that, so...
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 6db9d3ce4..425a655f7 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -915,7 +915,8 @@ function item_photo_menu($item){ if($contact) { $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']; $clean_url = normalise_link($item['author-link']); |