kopia lustrzana https://github.com/nextcloud/social
Merge pull request #1730 from nextcloud/fix/noid/created-at-in-notif
created_at in notifpull/1731/head
commit
3c93bf2141
|
|
@ -695,7 +695,7 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
|
||||||
$result = [
|
$result = [
|
||||||
'id' => (string)$this->getNid(),
|
'id' => (string)$this->getNid(),
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'created_at' => $this->getOriginCreationTime(),
|
'created_at' => date('Y-m-d\TH:i:s', $this->getPublishedTime()) . '.000Z',
|
||||||
'status' => $status,
|
'status' => $status,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,37 +53,17 @@ use OCA\Social\Tools\Traits\TStringTools;
|
||||||
class BoostService {
|
class BoostService {
|
||||||
use TStringTools;
|
use TStringTools;
|
||||||
|
|
||||||
|
|
||||||
private StreamRequest $streamRequest;
|
private StreamRequest $streamRequest;
|
||||||
|
|
||||||
private StreamService $streamService;
|
private StreamService $streamService;
|
||||||
|
|
||||||
private SignatureService $signatureService;
|
private SignatureService $signatureService;
|
||||||
|
|
||||||
private ActivityService $activityService;
|
private ActivityService $activityService;
|
||||||
|
|
||||||
private StreamActionService $streamActionService;
|
private StreamActionService $streamActionService;
|
||||||
|
|
||||||
private StreamQueueService $streamQueueService;
|
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(
|
public function __construct(
|
||||||
StreamRequest $streamRequest, StreamService $streamService, SignatureService $signatureService,
|
StreamRequest $streamRequest, StreamService $streamService, SignatureService $signatureService,
|
||||||
ActivityService $activityService, StreamActionService $streamActionService,
|
ActivityService $activityService, StreamActionService $streamActionService,
|
||||||
StreamQueueService $streamQueueService, MiscService $miscService
|
StreamQueueService $streamQueueService
|
||||||
) {
|
) {
|
||||||
$this->streamRequest = $streamRequest;
|
$this->streamRequest = $streamRequest;
|
||||||
$this->streamService = $streamService;
|
$this->streamService = $streamService;
|
||||||
|
|
@ -91,7 +71,6 @@ class BoostService {
|
||||||
$this->activityService = $activityService;
|
$this->activityService = $activityService;
|
||||||
$this->streamActionService = $streamActionService;
|
$this->streamActionService = $streamActionService;
|
||||||
$this->streamQueueService = $streamQueueService;
|
$this->streamQueueService = $streamQueueService;
|
||||||
$this->miscService = $miscService;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue