Browse Source

Update StatusService

Daniel Supernault 3 years ago
parent
commit
eeaf0f9311
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/Services/StatusService.php

+ 3 - 0
app/Services/StatusService.php

@@ -68,6 +68,7 @@ class StatusService
 			$status['shortcode'],
 			$status['shortcode'],
 			$status['taggedPeople'],
 			$status['taggedPeople'],
 			$status['thread'],
 			$status['thread'],
+			$status['pinned'],
 			$status['account']['header_bg'],
 			$status['account']['header_bg'],
 			$status['account']['is_admin'],
 			$status['account']['is_admin'],
 			$status['account']['last_fetched_at'],
 			$status['account']['last_fetched_at'],
@@ -87,6 +88,8 @@ class StatusService
 		$status['account']['last_status_at'] = null;
 		$status['account']['last_status_at'] = null;
 
 
 		$status['media_attachments'] = array_values(MediaService::getMastodon($status['id']));
 		$status['media_attachments'] = array_values(MediaService::getMastodon($status['id']));
+		$status['muted'] = false;
+		$status['reblogged'] = false;
 
 
 		return $status;
 		return $status;
 	}
 	}