Fix sending to stream names that are JSON strings.

(imported from commit 51ca1b577796a6f438d5bba4a9e8e0af3293b423)
This commit is contained in:
Tim Abbott 2013-02-13 12:29:07 -05:00
parent 1612b5c045
commit 874309b959
1 changed files with 1 additions and 1 deletions

View File

@ -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({