Commit bea0a491 authored by Zot's avatar Zot Committed by Mario
Browse files

Looks like we need the mastodon feed check in core - grrr. Will do that for...

Looks like we need the mastodon feed check in core - grrr. Will do that for now until it can be put back into plugins.
parent 108b052e
......@@ -397,6 +397,9 @@ function get_atom_elements($feed, $item, &$author) {
}
$ostatus_protocol = (($item->get_item_tags(NAMESPACE_OSTATUS, 'conversation')) ? true : false);
$mastodon = (($item->get_item_tags('http://mastodon.social/schema/1.0','scope')) ? true : false);
if($mastodon)
$ostatus_protocol = true;
$apps = $item->get_item_tags(NAMESPACE_STATUSNET, 'notice_info');
if($apps && $apps[0]['attribs']['']['source']) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment