From: Evan Prodromou Date: Sun, 6 Jul 2008 03:58:38 +0000 (-0400) Subject: restrict confirmations in queue to jabber addresses X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b5e79dc010a0883a04f1625da7a402202256f9f;p=quix0rs-gnu-social.git restrict confirmations in queue to jabber addresses darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz --- 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)) {