Skip to content

Commit 1aeb0b3

Browse files
committed
compose [nfc]: Expand a comment to include an edge case
1 parent 07b4e1c commit 1aeb0b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/compose_box.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,8 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
19191919
// TODO timeout this request?
19201920
if (!mounted) return;
19211921
if (!identical(controller, emptyEditController)) {
1922-
// user tapped Cancel during the fetch-raw-content request
1922+
// During the fetch-raw-content request, the user tapped Cancel
1923+
// or tapped a failed message edit to restore.
19231924
// TODO in this case we don't want the error dialog caused by
19241925
// ZulipAction.fetchRawContentWithFeedback; suppress that
19251926
return;

0 commit comments

Comments
 (0)