From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.240.136 with SMTP id la8cs263107icb; Sun, 13 Feb 2011 18:21:59 -0800 (PST) Received: by 10.220.182.203 with SMTP id cd11mr179045vcb.190.1297650119322; Sun, 13 Feb 2011 18:21:59 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id k14si1788400vcz.30.2011.02.13.18.21.58; Sun, 13 Feb 2011 18:21:59 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id AE28918581B2; Sun, 13 Feb 2011 21:21:58 -0500 (EST) Received: from pion.club.cc.cmu.edu (PION.CLUB.CC.CMU.EDU [128.237.157.88]) by rubyforge.org (Postfix) with ESMTP id 05C591858112 for ; Sun, 13 Feb 2011 21:02:57 -0500 (EST) Received: from rlane by pion.club.cc.cmu.edu with local (Exim 4.69) (envelope-from ) id 1Ponrw-0001Gj-H5; Sun, 13 Feb 2011 21:08:52 -0500 From: Rich Lane To: whodevil In-reply-to: <1297646180-sup-4406@mail.offthecob.info> References: <1297646180-sup-4406@mail.offthecob.info> Date: Sun, 13 Feb 2011 21:08:52 -0500 Message-Id: <1297648971-sup-3124@zyrg.net> User-Agent: Sup/git Cc: sup-talk Subject: Re: [sup-talk] after-poll.rb variables X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from whodevil's message of 2011-02-13 20:24:50 -0500: > I'm wondering if someone know if there is a way to get the total > unread messages in the inbox from within the after-poll hook? Index.num_results_for(labels: [:inbox, :unread]) _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk