restrict confirmations in queue to jabber addresses

darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz
This commit is contained in:
Evan Prodromou 2008-07-05 23:58:38 -04:00
parent e4a1b9cde9
commit 0b5e79dc01

View File

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