aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/feedutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 5f86ad5a4..708532013 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']) {