From: Michael Vogel Date: Sun, 17 Jan 2016 13:54:31 +0000 (+0100) Subject: XMPP: Don't show the addon on the federation page. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6d3c0f130590040c8350acdf708265abb870e225;p=friendica-addons.git XMPP: Don't show the addon on the federation page. --- diff --git a/xmpp/xmpp.php b/xmpp/xmpp.php index 21ac59cd..753ea0a5 100644 --- a/xmpp/xmpp.php +++ b/xmpp/xmpp.php @@ -125,6 +125,9 @@ function xmpp_converse(&$a,&$s) { if (!get_pconfig(local_user(),"xmpp","enabled")) return; + if (in_array($a->query_string, array("admin/federation/"))) + return; + $a->page['htmlhead'] .= ''."\n"; $a->page['htmlhead'] .= ''."\n";