forked from GNUsocial/gnu-social
		
	Add repeated attr to Atom notices_info element
This commit is contained in:
		@@ -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)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user