And again ..

pull/631/head
Michael 2018-06-28 16:43:06 +00:00
parent a4b61a4157
commit 5e72da205c
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ function pumpio_send(&$a, &$b)
} }
} else { } else {
$inReplyTo = ["id" => $orig_post["uri"], $inReplyTo = ["id" => $orig_post["uri"],
"objectType" => "note"]; "objectType" => "note"];
if (($orig_post["object-type"] != "") && (strstr($orig_post["object-type"], NAMESPACE_ACTIVITY_SCHEMA))) { if (($orig_post["object-type"] != "") && (strstr($orig_post["object-type"], NAMESPACE_ACTIVITY_SCHEMA))) {
$inReplyTo["objectType"] = str_replace(NAMESPACE_ACTIVITY_SCHEMA, '', $orig_post["object-type"]); $inReplyTo["objectType"] = str_replace(NAMESPACE_ACTIVITY_SCHEMA, '', $orig_post["object-type"]);