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";