From da9e9f92aedc5f9e9579492d1b25875926d39351 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Tue, 25 Apr 2023 14:00:32 -0700 Subject: [PATCH] compose [nfc]: Fix a TODO to exclude isEditing case --- src/compose/ComposeBox.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compose/ComposeBox.js b/src/compose/ComposeBox.js index 6ba530a911c..684db0fffa0 100644 --- a/src/compose/ComposeBox.js +++ b/src/compose/ComposeBox.js @@ -386,8 +386,9 @@ const ComposeBox: React$AbstractComponent = forwardRef( const anyQuoteAndReplyInProgress = activeQuoteAndRepliesCount > 0; const doQuoteAndReply = useCallback( async message => { - // TODO: If not already there, re-narrow to `message`'s conversation - // narrow, with getNarrowForReply, and do the quote-and-reply there. + // TODO: For composing a new message (i.e. isEditing is false), if + // not already there, re-narrow to `message`'s conversation narrow, + // with getNarrowForReply, and do the quote-and-reply there. // Discussion: // https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/.23M1975.20Quote.20and.20reply/near/1455302