summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-17 13:55:12 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-17 13:55:12 -0400
commitae6ba61d433bbd7634adc734b277963c3d8522f3 (patch)
tree830e3ec8ee2a3271d2f757f3ea83e1bfb3789248 /actions/showstream.php
parent124762160a15a5b2407ac2d1814dc195fd8c64f2 (diff)
don't show message link on your own page
darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 563a743bc..af0bcb809 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -149,7 +149,7 @@ class ShowstreamAction extends StreamAction {
$user = User::staticGet('id', $profile->id);
- if ($cur->mutuallySubscribed($user)) {
+ if ($cur->id != $user->id && $cur->mutuallySubscribed($user)) {
common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))),
_('Send a message'));
}