aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-06 22:49:45 -0700
committerzotlabs <mike@macgirvin.com>2017-06-06 22:49:45 -0700
commit59002cb87389159002ab8c426d475edb6d7883be (patch)
tree2eccdc257cedd8b5e333fd08d13d9483db17c98e
parentf49ce500a1aad627de4d1558b0d018735a1a6e31 (diff)
downloadvolse-hubzilla-59002cb87389159002ab8c426d475edb6d7883be.tar.gz
volse-hubzilla-59002cb87389159002ab8c426d475edb6d7883be.tar.bz2
volse-hubzilla-59002cb87389159002ab8c426d475edb6d7883be.zip
Looks like we need the mastodon feed check in core - grrr. Will do that for now until it can be put back into plugins.
-rw-r--r--include/feedutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 70222c124..10eb5bcc7 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -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']) {