summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-05 23:58:38 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-05 23:58:38 -0400
commit0b5e79dc010a0883a04f1625da7a402202256f9f (patch)
tree5a2963ca291d40a9260b2936216def386ebf21ca
parente4a1b9cde9e975209c76e5e7322a14336b42f18f (diff)
restrict confirmations in queue to jabber addresses
darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz
-rwxr-xr-xxmppdaemon.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index 772e99d3d..bab614cb3 100755
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -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)) {