compose: remove tutorial check on sent messages.

We did this to check if you sent a message that would progress the
tutorial. Since the tutorial is getting overhauled we don't need this
anymore.

(imported from commit 25ee55ab034fff42a220ddd7b222b3f7459af3a1)
This commit is contained in:
Jessica McKellar
2013-06-27 10:44:43 -04:00
parent dce1f7f729
commit bc3837f440

View File

@@ -328,13 +328,6 @@ function send_message() {
var request = create_message_object();
exports.snapshot_message(request);
if (tutorial.is_running()) {
// We want the un-json-encoded version of the request.to, so
// we need to get it before the JSON stringify below messes it
// up.
tutorial.message_was_sent(request);
}
if (request.type === "private") {
request.to = JSON.stringify(request.to);
} else {