From 5172a73e28eb2150967f466341ac1e0f7725d896 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 14:36:45 -0400 Subject: [PATCH] fixup subscription links darcs-hash:20080521183645-84dde-45d943f0d2b784aac372244fcf7d7e62143a76cf.gz --- actions/showstream.php | 2 ++ doc/TODO | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/actions/showstream.php b/actions/showstream.php index 209e7ccdae..42f1f04cd3 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -82,6 +82,8 @@ class ShowstreamAction extends StreamAction { $this->show_last_notice($profile); + $cur = common_current_user(); + if ($cur && $cur->id != $profile->id) { if ($cur->isSubscribed($profile)) { $this->show_unsubscribe_form($profile); diff --git a/doc/TODO b/doc/TODO index 50b361bed1..1b4230b1b2 100644 --- a/doc/TODO +++ b/doc/TODO @@ -43,9 +43,9 @@ + validate newnotice form results + remove validation code from classes + use only canonical usernames -- RSS 1.0 feeds of a user's notices ++ RSS 1.0 feeds of a user's notices - RSS 1.0 feeds of a user's notices + friends -- RSS 1.0 dump of a user's notices ++ RSS 1.0 dump of a user's notices - RSS 1.0 feed of all public notices - RDF dump of entire site - FOAF dump for user