From: Michael Vogel Date: Mon, 24 Aug 2015 06:18:17 +0000 (+0200) Subject: Bugfix: Don't show "appnet" in "inbound" when only "buffer" is enabled. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf5fce855e15c0ec46c31faed3cd8412ca3c5049;p=friendica.git Bugfix: Don't show "appnet" in "inbound" when only "buffer" is enabled. --- diff --git a/mod/nodeinfo.php b/mod/nodeinfo.php index 9b529ac2dd..eced2e1682 100644 --- a/mod/nodeinfo.php +++ b/mod/nodeinfo.php @@ -67,10 +67,11 @@ function nodeinfo_init(&$a){ $nodeinfo["metadata"] = array("nodeName" => $a->config["sitename"]); - if (nodeinfo_plugin_enabled("appnet") OR nodeinfo_plugin_enabled("buffer")) { + if (nodeinfo_plugin_enabled("appnet")) $nodeinfo["services"]["inbound"][] = "appnet"; + + if (nodeinfo_plugin_enabled("appnet") OR nodeinfo_plugin_enabled("buffer")) $nodeinfo["services"]["outbound"][] = "appnet"; - } if (nodeinfo_plugin_enabled("blogger")) $nodeinfo["services"]["outbound"][] = "blogger"; @@ -120,7 +121,7 @@ function nodeinfo_init(&$a){ if (nodeinfo_plugin_enabled("tumblr")) $nodeinfo["services"]["outbound"][] = "tumblr"; - if (nodeinfo_plugin_enabled("twitter")) + if (nodeinfo_plugin_enabled("twitter") OR nodeinfo_plugin_enabled("buffer")) $nodeinfo["services"]["outbound"][] = "twitter"; if (nodeinfo_plugin_enabled("wppost"))