From ae6ba61d433bbd7634adc734b277963c3d8522f3 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 17 Sep 2008 13:55:12 -0400 Subject: 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(-) (limited to 'actions') 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')); } -- cgit v1.2.3-54-g00ecf