compose: Fix the compose box not resizing when restoring drafts.

Fixes #3592.
This commit is contained in:
kpdp
2017-02-06 17:01:02 +05:30
committed by Tim Abbott
parent 9b854c62bc
commit cda7faee83

View File

@@ -390,6 +390,7 @@ exports.restore_message = function () {
clear_message_snapshot();
compose_fade.clear_compose();
compose.start(snapshot_copy.type, snapshot_copy);
exports.autosize_textarea();
if (snapshot_copy.content !== undefined &&
util.is_all_or_everyone_mentioned(snapshot_copy.content)) {