mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
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:
@@ -328,13 +328,6 @@ function send_message() {
|
|||||||
var request = create_message_object();
|
var request = create_message_object();
|
||||||
exports.snapshot_message(request);
|
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") {
|
if (request.type === "private") {
|
||||||
request.to = JSON.stringify(request.to);
|
request.to = JSON.stringify(request.to);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user