From: Zach Copley Date: Thu, 3 Jun 2010 22:24:55 +0000 (+0000) Subject: Add repeated attr to Atom notices_info element X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a44d4272f5439b99ac34084e7fcb16a5c4b3f2f;p=quix0rs-gnu-social.git Add repeated attr to Atom notices_info element --- diff --git a/classes/Notice.php b/classes/Notice.php index 3d7d21533b..0838ca2a2c 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)) {