mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Fix create-and-send functionality.
(imported from commit 24452eb90e9aaeb0ad406f6c56ce412e2f410865)
This commit is contained in:
@@ -109,7 +109,7 @@ function check_stream_for_send(stream_name) {
|
||||
data: {'stream': stream_name},
|
||||
async: false,
|
||||
success: function (data) {
|
||||
if (data.exists === "False") {
|
||||
if (!data.exists) {
|
||||
// The stream doesn't exist
|
||||
okay = false;
|
||||
$('#send-status').removeClass(status_classes).show();
|
||||
|
||||
Reference in New Issue
Block a user