mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Module pattern for subs.js
(imported from commit adfe466ea892fbfe5f13a5f346e4fd00f194c42a)
This commit is contained in:
@@ -146,7 +146,7 @@ function validate_stream_message() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!subscribed_to(stream_name)) {
|
||||
if (!subs.have(stream_name)) {
|
||||
if (!check_stream_for_send(stream_name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user