From: Michael Vogel Date: Mon, 2 Nov 2015 06:05:29 +0000 (+0100) Subject: Don't activate chat on mobile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a7fdd6f6aeae2bbc91cef73a23f53b3bb1bcdc9;p=friendica-addons.git Don't activate chat on mobile --- diff --git a/xmpp/xmpp.php b/xmpp/xmpp.php index 7ac7eb3b..07f01397 100644 --- a/xmpp/xmpp.php +++ b/xmpp/xmpp.php @@ -53,6 +53,9 @@ function xmpp_converse(&$a,&$s) { if ($_GET["mode"] == "minimal") return; + if ($a->is_mobile || $a->is_tablet) + return; + $a->page['htmlhead'] .= ''."\n"; $a->page['htmlhead'] .= ''."\n";