Skip to content

Commit 72ffbd8

Browse files
committed
compose: Remove a redundant TypingNotifier.stoppedComposing call
Issue #720 is superseded by #1441, in which we'll still clear the compose box when the send button is tapped. (We'll still preserve the composing progress in case the send fails, but we'll do so in an OutboxMessage instead of within the compose input in a disabled state.)
1 parent 109562b commit 72ffbd8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/widgets/compose_box.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,10 +1288,6 @@ class _SendButtonState extends State<_SendButton> {
12881288
final content = controller.content.textNormalized;
12891289

12901290
controller.content.clear();
1291-
// The following `stoppedComposing` call is currently redundant,
1292-
// because clearing input sends a "typing stopped" notice.
1293-
// It will be necessary once we resolve #720.
1294-
store.typingNotifier.stoppedComposing();
12951291

12961292
try {
12971293
// TODO(#720) clear content input only on success response;

0 commit comments

Comments
 (0)