mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Clean up subs.have by splitting it into logical pieces
(imported from commit 0fe55aa62ccc95cae5c9aba565b0e4c04692fb46)
This commit is contained in:
@@ -512,7 +512,7 @@ function validate_stream_message() {
|
||||
|
||||
var response;
|
||||
|
||||
if (!subs.have(stream_name)) {
|
||||
if (!subs.is_subscribed(stream_name)) {
|
||||
switch(check_stream_for_send(stream_name)) {
|
||||
case "does-not-exist":
|
||||
response = "<p>The stream <b>" +
|
||||
|
||||
Reference in New Issue
Block a user