Skip to content

Commit

Permalink
compose [nfc]: Fix a TODO to exclude isEditing case
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed Apr 25, 2023
1 parent 7d29b58 commit da9e9f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/compose/ComposeBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,9 @@ const ComposeBox: React$AbstractComponent<Props, ImperativeHandle> = 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

Expand Down

0 comments on commit da9e9f9

Please sign in to comment.