Excerpts from Rich Lane's message of Sun Feb 13 21:08:52 -0500 2011:
> 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])

This thread made me wonder...
Wouldn't it be handy if after-poll reported the labels before-add-poll.rb 
assigns?
-- 
Thanks,
Phil
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to