From 6d3c0f130590040c8350acdf708265abb870e225 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 17 Jan 2016 14:54:31 +0100 Subject: [PATCH] XMPP: Don't show the addon on the federation page. --- xmpp/xmpp.php | 3 +++ 1 file changed, 3 insertions(+) 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"; -- 2.39.5