From 0b5e79dc010a0883a04f1625da7a402202256f9f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 5 Jul 2008 23:58:38 -0400 Subject: [PATCH] restrict confirmations in queue to jabber addresses darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz --- xmppdaemon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmppdaemon.php b/xmppdaemon.php index 772e99d3dd..bab614cb3b 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)) { -- 2.39.5