mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
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:
@@ -147,7 +147,8 @@ function pick_hello_stream() {
|
|||||||
// Try to avoid alert/notification streams if possible.
|
// Try to avoid alert/notification streams if possible.
|
||||||
var alert_streams = ["commits", "jenkins", "nagios", "support", "builds"];
|
var alert_streams = ["commits", "jenkins", "nagios", "support", "builds"];
|
||||||
$.each(my_streams, function (idx, stream_name) {
|
$.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;
|
hello_stream = stream_name;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user