diff options
-rw-r--r-- | actions/showstream.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 9d871e41b..21d35201c 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -389,6 +389,13 @@ class ShowstreamAction extends StreamAction { # XXX: RDFa common_element_start('li', array('class' => 'notice_single', 'id' => 'notice-' . $notice->id)); + if ($user) { + if ($user->hasFave($notice)) { + common_disfavor_form($notice); + } else { + common_favor_form($notice); + } + } $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); # FIXME: URL, image, video, audio common_element_start('p'); |