}
if (($b['verb'] == ACTIVITY_POST) && ($b['created'] !== $b['edited']) && !$b['deleted']) {
- pumpio_action($a, $b["uid"], $b["uri"], "update", $b["body"]);
+ pumpio_action($a, $b["uid"], $b["uri"], "update", $b["body"]);
}
if (($b['verb'] == ACTIVITY_POST) && $b['deleted']) {
- pumpio_action($a, $b["uid"], $b["uri"], "delete");
+ pumpio_action($a, $b["uid"], $b["uri"], "delete");
}
if ($b['deleted'] || ($b['created'] !== $b['edited'])) {
if (!$iscomment) {
$params["object"] = [
- 'objectType' => "note",
- 'content' => $content];
+ 'objectType' => "note",
+ 'content' => $content];
if ($title != "") {
$params["object"]["displayName"] = $title;
}
$params["object"] = [
- 'objectType' => "comment",
- 'content' => $content,
- 'inReplyTo' => $inReplyTo];
+ 'objectType' => "comment",
+ 'content' => $content,
+ 'inReplyTo' => $inReplyTo];
if ($title != "") {
$params["object"]["displayName"] = $title;