mirror of https://github.com/zulip/zulip.git
tutorial: don't recommend saying hi on a tutorial stream.
Now we don't unsub you from it until after we've picked the hello stream. (imported from commit b1489007e972af7713804ba5ff98764a6393a0b6)
This commit is contained in:
parent
750b8326d7
commit
e15dd90bd9
|
@ -147,7 +147,8 @@ function pick_hello_stream() {
|
|||
// Try to avoid alert/notification streams if possible.
|
||||
var alert_streams = ["commits", "jenkins", "nagios", "support", "builds"];
|
||||
$.each(my_streams, function (idx, stream_name) {
|
||||
if ($.inArray(stream_name.toLowerCase(), alert_streams) === -1) {
|
||||
if (($.inArray(stream_name.toLowerCase(), alert_streams) === -1) &&
|
||||
(stream_name.substring(0, 9) !== "tutorial-")) {
|
||||
hello_stream = stream_name;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue