don't show message link on your own page

darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz
This commit is contained in:
Evan Prodromou 2008-09-17 13:55:12 -04:00
parent 124762160a
commit ae6ba61d43
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}