diff options
-rw-r--r-- | actions/showstream.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 7b41b8514..563a743bc 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -146,6 +146,14 @@ class ShowstreamAction extends StreamAction { } else { $this->show_remote_subscribe_link($profile); } + + $user = User::staticGet('id', $profile->id); + + if ($cur->mutuallySubscribed($user)) { + common_element('a', array('href' => common_local_url('newmessage', array('nickname' => $user->nickname))), + _('Send a message')); + } + common_element_end('div'); common_element_start('div', array('id' => 'profile_information')); |