mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:50:11 +00:00
can't use ActivityStreams for location. Grrr.
This commit is contained in:
parent
828316ce70
commit
c35dab713d
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ function get_atom_elements($item) {
|
|||
if($rawcreated)
|
||||
$res['created'] = unxmlify($rawcreated[0]['data']);
|
||||
|
||||
$rawlocation = $item->get_item_tags('http://activitystrea.ms/spec/1.0/', 'place');
|
||||
$rawlocation = $item->get_item_tags(NAMESPACE_DFRN, 'location');
|
||||
if($rawlocation)
|
||||
$res['location'] = unxmlify($rawlocation[0]['data']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue