mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +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") {
|
||||
request.to = JSON.stringify(recipients);
|
||||
} else {
|
||||
request.to = compose.stream_name();
|
||||
request.to = JSON.stringify([compose.stream_name()]);
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user