expose isLocal trough api

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/1090/head
Robin Appelman 2020-10-19 18:50:26 +02:00
rodzic dd9ed2f972
commit dc5d89fe5c
1 zmienionych plików z 1 dodań i 0 usunięć
lib/Model/ActivityPub

Wyświetl plik

@ -496,6 +496,7 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
}
}
$result = [
"local" => $this->isLocal(),
"content" => $this->getContent(),
"sensitive" => $this->isSensitive(),
"spoiler_text" => $this->getSpoilerText(),