diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-19 18:50:26 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-19 18:50:26 +0200 |
commit | dc5d89fe5cf777ae93691b130cba2082386c1763 (patch) | |
tree | 97897619d34192cc39c999db4a6c796ca71e22e9 /lib | |
parent | dd9ed2f972b259ef39df0130cd58b58d94c530d3 (diff) |
expose isLocal trough api
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/ActivityPub/Stream.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/ActivityPub/Stream.php b/lib/Model/ActivityPub/Stream.php index c01660c7..7a33dce6 100644 --- a/lib/Model/ActivityPub/Stream.php +++ b/lib/Model/ActivityPub/Stream.php @@ -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(), |