summaryrefslogtreecommitdiff
path: root/lib/jabber.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jabber.php')
-rw-r--r--lib/jabber.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/jabber.php b/lib/jabber.php
index e9968b78f..586cdec7e 100644
--- a/lib/jabber.php
+++ b/lib/jabber.php
@@ -54,7 +54,6 @@ function jabber_normalize_jid($jid) {
if (preg_match("/(?:([^\@]+)\@)?([^\/]+)(?:\/(.*))?$/", $jid, $matches)) {
$node = $matches[1];
$server = $matches[2];
- $resource = $matches[3];
return strtolower($node.'@'.$server);
} else {
return NULL;