]> git.mxchange.org Git - friendica.git/commitdiff
Twitter is also inbound
authorMichael <heluecht@pirati.ca>
Wed, 27 Nov 2019 07:36:24 +0000 (07:36 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 27 Nov 2019 07:36:24 +0000 (07:36 +0000)
src/Module/NodeInfo.php

index e1b75d666d66218bb336b29bd27ae432d4ccd78e..eedbe8ee7c046d3439a1019877f88da2ab4e5b6a 100644 (file)
@@ -245,6 +245,10 @@ class NodeInfo extends BaseModule
 
                $nodeinfo['services'] = self::getServices($app);
 
+               if (Addon::isEnabled('twitter')) {
+                       $nodeinfo['services']['inbound'][] = 'twitter';
+               }
+
                $nodeinfo['services']['inbound'][]  = 'atom1.0';
                $nodeinfo['services']['outbound'][] = 'atom1.0';
                $nodeinfo['services']['outbound'][] = 'rss2.0';