From 3a7fdd6f6aeae2bbc91cef73a23f53b3bb1bcdc9 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 2 Nov 2015 07:05:29 +0100 Subject: [PATCH] Don't activate chat on mobile --- xmpp/xmpp.php | 3 +++ 1 file changed, 3 insertions(+) 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";