mirror of https://github.com/zulip/zulip.git
Fix sending to stream names that are JSON strings.
(imported from commit 51ca1b577796a6f438d5bba4a9e8e0af3293b423)
This commit is contained in:
parent
1612b5c045
commit
874309b959
|
@ -128,7 +128,7 @@ function send_message() {
|
|||
if (request.type === "private") {
|
||||
request.to = JSON.stringify(recipients);
|
||||
} else {
|
||||
request.to = compose.stream_name();
|
||||
request.to = JSON.stringify([compose.stream_name()]);
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
|
|
Loading…
Reference in New Issue