From a4b61a4157708dfc9a7e15f6748c87d77be03248 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 28 Jun 2018 16:39:25 +0000 Subject: [PATCH] Even more standards --- pumpio/pumpio.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index f1b77e9f..f1c75d98 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -451,11 +451,11 @@ function pumpio_send(&$a, &$b) } 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'])) { @@ -491,8 +491,8 @@ function pumpio_send(&$a, &$b) if (!$iscomment) { $params["object"] = [ - 'objectType' => "note", - 'content' => $content]; + 'objectType' => "note", + 'content' => $content]; if ($title != "") { $params["object"]["displayName"] = $title; @@ -522,9 +522,9 @@ function pumpio_send(&$a, &$b) } $params["object"] = [ - 'objectType' => "comment", - 'content' => $content, - 'inReplyTo' => $inReplyTo]; + 'objectType' => "comment", + 'content' => $content, + 'inReplyTo' => $inReplyTo]; if ($title != "") { $params["object"]["displayName"] = $title; -- 2.39.5