Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/1586/head
Maxence Lange 2023-03-06 10:52:18 -01:00
rodzic b193f383f0
commit 8d532b3552
2 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -243,9 +243,6 @@ class DocumentService {
}
public function getByLocalId(int $id, string &$mimeType = '', bool $public = false): ISimpleFile {
}
/**
* @return int

Wyświetl plik

@ -41,7 +41,6 @@ use OCA\Social\Exceptions\StreamNotFoundException;
use OCA\Social\Exceptions\UnauthorizedFediverseException;
use OCA\Social\Model\ActivityPub\ACore;
use OCA\Social\Model\ActivityPub\Actor\Person;
use OCA\Social\Model\ActivityPub\Object\Document;
use OCA\Social\Model\ActivityPub\Object\Note;
use OCA\Social\Model\ActivityPub\Stream;
use OCA\Social\Model\Client\Options\TimelineOptions;
@ -98,7 +97,7 @@ class StreamService {
* @throws SocialAppConfigException
* @throws Exception
*/
public function assignItem(Acore &$stream, Person $actor, string $type) {
public function assignItem(Acore $stream, Person $actor, string $type) {
$stream->setId($this->configService->generateId('@' . $actor->getPreferredUsername()));
$stream->setPublished(date("c"));