summaryrefslogtreecommitdiffstats
path: root/lib/Interfaces/Object/AnnounceInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Interfaces/Object/AnnounceInterface.php')
-rw-r--r--lib/Interfaces/Object/AnnounceInterface.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Interfaces/Object/AnnounceInterface.php b/lib/Interfaces/Object/AnnounceInterface.php
index 31495534..411f22b2 100644
--- a/lib/Interfaces/Object/AnnounceInterface.php
+++ b/lib/Interfaces/Object/AnnounceInterface.php
@@ -174,7 +174,7 @@ class AnnounceInterface extends AbstractActivityPubInterface implements IActivit
$knownItem->setAttributedTo($actor->getId());
if (!$knownItem->hasCc($actor->getFollowers())) {
$knownItem->addCc($actor->getFollowers());
- $this->streamRequest->update($knownItem, true);
+ $this->streamRequest->update($knownItem);
}
try {
@@ -226,7 +226,7 @@ class AnnounceInterface extends AbstractActivityPubInterface implements IActivit
if (empty($knownItem->getCcArray())) {
$this->streamRequest->deleteById($knownItem->getId(), Announce::TYPE);
} else {
- $this->streamRequest->update($knownItem, true);
+ $this->streamRequest->update($knownItem);
}
} catch (StreamNotFoundException|ItemUnknownException|SocialAppConfigException $e) {
}
@@ -292,7 +292,7 @@ class AnnounceInterface extends AbstractActivityPubInterface implements IActivit
'boosts', $this->actionsRequest->countActions($post->getId(), Announce::TYPE)
);
- $this->streamRequest->update($post, true);
+ $this->streamRequest->update($post);
}
/**