From f6be0960f00fba5265bc21d7e24f85cce22ae8a3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Sep 2009 12:48:42 -0400 Subject: [PATCH] Load bugs in be-handle-mail.Message.subscriber_emails(). Because subscribe.get_bugdir_subscribers() only looks for subscribers in bugs that are already in memory. --- interfaces/email/interactive/be-handle-mail | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index e8492bb..18df727 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -617,7 +617,9 @@ class Message (object): if bd.vcs.versioned == False: # no way to tell what's changed raise NotificationFailed("Not versioned") + bd.load_all_bugs() subscribers = subscribe.get_bugdir_subscribers(bd, THIS_SERVER) + if len(subscribers) == 0: return [] -- 2.26.2