Fix: [pumpio] Wrong variable name in "if" / Some reworked parts #631

Merged
annando merged 5 commits from pumpio-fix into develop 2018-06-29 18:31:04 +02:00
Showing only changes of commit 5e72da205c - Show all commits

View file

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