projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26689f
)
Twitter is also inbound
author
Michael
<heluecht@pirati.ca>
Wed, 27 Nov 2019 07:36:24 +0000
(07:36 +0000)
committer
Michael
<heluecht@pirati.ca>
Wed, 27 Nov 2019 07:36:24 +0000
(07:36 +0000)
src/Module/NodeInfo.php
patch
|
blob
|
history
diff --git
a/src/Module/NodeInfo.php
b/src/Module/NodeInfo.php
index e1b75d666d66218bb336b29bd27ae432d4ccd78e..eedbe8ee7c046d3439a1019877f88da2ab4e5b6a 100644
(file)
--- a/
src/Module/NodeInfo.php
+++ b/
src/Module/NodeInfo.php
@@
-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';