From ae6ba61d433bbd7634adc734b277963c3d8522f3 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 17 Sep 2008 13:55:12 -0400 Subject: [PATCH] don't show message link on your own page darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz --- actions/showstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/showstream.php b/actions/showstream.php index 563a743bc5..af0bcb8097 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')); }