kopia lustrzana https://github.com/nextcloud/social
created_at in notif
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1730/head
rodzic
6d945ff03c
commit
be5f327511
|
@ -695,7 +695,7 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
|
|||
$result = [
|
||||
'id' => (string)$this->getNid(),
|
||||
'type' => $type,
|
||||
'created_at' => $this->getOriginCreationTime(),
|
||||
'created_at' => date('Y-m-d\TH:i:s', $this->getPublishedTime()) . '.000Z',
|
||||
'status' => $status,
|
||||
];
|
||||
|
||||
|
|
|
@ -53,37 +53,17 @@ use OCA\Social\Tools\Traits\TStringTools;
|
|||
class BoostService {
|
||||
use TStringTools;
|
||||
|
||||
|
||||
private StreamRequest $streamRequest;
|
||||
|
||||
private StreamService $streamService;
|
||||
|
||||
private SignatureService $signatureService;
|
||||
|
||||
private ActivityService $activityService;
|
||||
|
||||
private StreamActionService $streamActionService;
|
||||
|
||||
private StreamQueueService $streamQueueService;
|
||||
|
||||
private MiscService $miscService;
|
||||
|
||||
|
||||
/**
|
||||
* BoostService constructor.
|
||||
*
|
||||
* @param StreamRequest $streamRequest
|
||||
* @param StreamService $streamService
|
||||
* @param SignatureService $signatureService
|
||||
* @param ActivityService $activityService
|
||||
* @param StreamActionService $streamActionService
|
||||
* @param StreamQueueService $streamQueueService
|
||||
* @param MiscService $miscService
|
||||
*/
|
||||
public function __construct(
|
||||
StreamRequest $streamRequest, StreamService $streamService, SignatureService $signatureService,
|
||||
ActivityService $activityService, StreamActionService $streamActionService,
|
||||
StreamQueueService $streamQueueService, MiscService $miscService
|
||||
StreamQueueService $streamQueueService
|
||||
) {
|
||||
$this->streamRequest = $streamRequest;
|
||||
$this->streamService = $streamService;
|
||||
|
@ -91,7 +71,6 @@ class BoostService {
|
|||
$this->activityService = $activityService;
|
||||
$this->streamActionService = $streamActionService;
|
||||
$this->streamQueueService = $streamQueueService;
|
||||
$this->miscService = $miscService;
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue