mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
Fix sending to stream names that are JSON strings.
(imported from commit 51ca1b577796a6f438d5bba4a9e8e0af3293b423)
This commit is contained in:
@@ -128,7 +128,7 @@ function send_message() {
|
|||||||
if (request.type === "private") {
|
if (request.type === "private") {
|
||||||
request.to = JSON.stringify(recipients);
|
request.to = JSON.stringify(recipients);
|
||||||
} else {
|
} else {
|
||||||
request.to = compose.stream_name();
|
request.to = JSON.stringify([compose.stream_name()]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|||||||
Reference in New Issue
Block a user