]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
restrict confirmations in queue to jabber addresses
authorEvan Prodromou <evan@prodromou.name>
Sun, 6 Jul 2008 03:58:38 +0000 (23:58 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 6 Jul 2008 03:58:38 +0000 (23:58 -0400)
darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz

xmppdaemon.php

index 772e99d3dddbfd3802e0dc94a069fdb966d896fb..bab614cb3b2a52bddcb45d4c9fe6a7a052abdeb4 100755 (executable)
@@ -362,6 +362,8 @@ class XMPPDaemon {
                $confirm = new Confirm_address();
                $confirm->sent = NULL;
                $confirm->claimed = NULL;
+               # XXX: eventually we could do other confirmations in the queue, too
+               $confirm->address_type = 'jabber';
                $confirm->orderBy('modified DESC');
                $confirm->limit(1);
                if ($confirm->find(TRUE)) {