summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-06-03 22:24:55 +0000
committerZach Copley <zach@status.net>2010-06-03 22:24:55 +0000
commit1a44d4272f5439b99ac34084e7fcb16a5c4b3f2f (patch)
treef20b1b68f6831c86fa357a7734b8d77bfd2d2b96 /classes
parent22d6ff25b55d803643ea8d024b56e645be6fc450 (diff)
Add repeated attr to Atom notices_info element
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 3d7d21533..0838ca2a2 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1252,6 +1252,8 @@ class Notice extends Memcached_DataObject
if (!empty($cur)) {
$noticeInfoAttr['favorite'] = ($cur->hasFave($this)) ? "true" : "false";
+ $profile = $cur->getProfile();
+ $noticeInfoAttr['repeated'] = ($profile->hasRepeated($this->id)) ? "true" : "false";
}
if (!empty($this->repeat_of)) {