sforkowany z mirror/friendica
Removed unneeded comment
rodzic
884c75a350
commit
c574c317ef
|
@ -573,7 +573,7 @@ class ostatus {
|
||||||
if (!isset($item["object-type"])) {
|
if (!isset($item["object-type"])) {
|
||||||
$item["object-type"] = $xpath->query('activity:object-type/text()', $activityobjects)->item(0)->nodeValue;
|
$item["object-type"] = $xpath->query('activity:object-type/text()', $activityobjects)->item(0)->nodeValue;
|
||||||
}
|
}
|
||||||
// Quickfix to read attachments
|
|
||||||
$enclosures = $xpath->query("atom:link[@rel='alternate']", $activityobjects);
|
$enclosures = $xpath->query("atom:link[@rel='alternate']", $activityobjects);
|
||||||
if ($enclosures) {
|
if ($enclosures) {
|
||||||
foreach ($enclosures AS $link) {
|
foreach ($enclosures AS $link) {
|
||||||
|
|
Ładowanie…
Reference in New Issue