Skip to content

Commit fcc4da9

Browse files
committed
compose [nfc]: Expand a comment to include an edge case
1 parent fda6bac commit fcc4da9

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
@@ -1941,7 +1941,8 @@ class _ComposeBoxState extends State<ComposeBox> with PerAccountStoreAwareStateM
19411941
// TODO timeout this request?
19421942
if (!mounted) return;
19431943
if (!identical(controller, emptyEditController)) {
1944-
// user tapped Cancel during the fetch-raw-content request
1944+
// During the fetch-raw-content request, the user tapped Cancel
1945+
// or tapped a failed message edit to restore.
19451946
// TODO in this case we don't want the error dialog caused by
19461947
// ZulipAction.fetchRawContentWithFeedback; suppress that
19471948
return;

0 commit comments

Comments
 (0)