create stream: Fix stream email not rendering on stream creation.

Fixes #8817
This commit is contained in:
YJDave
2018-04-05 23:28:27 +05:30
committed by Tim Abbott
parent b9f1acb300
commit f15ddc93e0
6 changed files with 29 additions and 11 deletions

View File

@@ -174,6 +174,10 @@ exports.update_subscribers_count = function (sub) {
sub.subscriber_count = count;
};
exports.update_stream_email_address = function (sub, email) {
sub.email_address = email;
};
exports.get_subscriber_count = function (stream_name) {
var sub = exports.get_sub_by_name(stream_name);
if (sub === undefined) {