forked from GNUsocial/gnu-social
Add repeated attr to Atom notices_info element
This commit is contained in:
parent
22d6ff25b5
commit
1a44d4272f
@ -1252,6 +1252,8 @@ class Notice extends Memcached_DataObject
|
|||||||
|
|
||||||
if (!empty($cur)) {
|
if (!empty($cur)) {
|
||||||
$noticeInfoAttr['favorite'] = ($cur->hasFave($this)) ? "true" : "false";
|
$noticeInfoAttr['favorite'] = ($cur->hasFave($this)) ? "true" : "false";
|
||||||
|
$profile = $cur->getProfile();
|
||||||
|
$noticeInfoAttr['repeated'] = ($profile->hasRepeated($this->id)) ? "true" : "false";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($this->repeat_of)) {
|
if (!empty($this->repeat_of)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user