]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get address from addresses
authorEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 05:56:40 +0000 (01:56 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 30 Aug 2008 05:56:40 +0000 (01:56 -0400)
darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz

scripts/xmppdaemon.php

index c7a4fc7638e70a77ba83b8204e1fc98699b96836..b57f8ef83979ff88e1372f565326d27a2ae5f277 100755 (executable)
@@ -136,7 +136,7 @@ class XMPPDaemon {
                        $this->log(LOG_WARNING, 'Forwarded message without addresses');
                        return NULL;
                }
-               $address = $xml->sub('address');
+               $address = $addresses->sub('address');
                if (!$address) {
                        $this->log(LOG_WARNING, 'Forwarded message without address');
                        return NULL;