From de0d50d31a4edc202940b9dddfab057ccd1517c3 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Thu, 19 Sep 2013 09:37:39 -0400 Subject: [PATCH] [important] Fix recent regression w/maybe_get_subscribers (imported from commit 8069f729dcb2bfec1c1df8f50a88fe49545a9a87) --- zerver/lib/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py index 9ef43a840b..adf8d49c6a 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -451,7 +451,7 @@ def check_message(sender, client, message_type_name, message_to, if sender.is_bot: if stream: - num_subscribers = len(maybe_get_subscribers(stream)) + num_subscribers = len(maybe_get_subscriber_emails(stream)) if stream is None or num_subscribers == 0: # Warn a bot's owner if they are sending a message to a stream