From 5c0a624f9ec2901b0617b67cd4a2462772d26dea Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Wed, 13 Nov 2013 15:44:02 -0500 Subject: [PATCH] Don't notify on stream messages by default for LevelUp. (imported from commit c0c21047698612dbcee5eee9e858f37a8f8e29bd) --- 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 d72048197a..4b53a5fb62 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -802,7 +802,7 @@ def notify_for_streams_by_default(user_profile): # stream messages by default. return (user_profile.realm.date_created > datetime.datetime( 2013, 9, 24, tzinfo=timezone.utc)) and \ - (user_profile.realm.domain != "customer19.invalid") + (user_profile.realm.domain not in ["customer19.invalid", "customer25.invalid"]) def bulk_add_subscriptions(streams, users): recipients_map = bulk_get_recipients(Recipient.STREAM, [stream.id for stream in streams])