mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:03:41 +00:00
XMPP: Don't show the addon on the federation page.
This commit is contained in:
parent
4676ff5554
commit
6d3c0f1305
1 changed files with 3 additions and 0 deletions
|
@ -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'] .= '<link type="text/css" rel="stylesheet" media="screen" href="addon/xmpp/converse/css/converse.css" />'."\n";
|
||||
$a->page['htmlhead'] .= '<script src="addon/xmpp/converse/builds/converse.min.js"></script>'."\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue