Skip to content

Commit

Permalink
narrow [nfc]: Fix a comment reference to getNarrowForReply.
Browse files Browse the repository at this point in the history
Which was recently renamed from getNarrowFromMessage.
  • Loading branch information
gnprice committed Dec 10, 2020
1 parent f5243b0 commit 09bf944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/narrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const pmNarrowByString = (emails: string): Narrow => [
// the webapp, where the URL that appears in the location bar for a
// group PM conversation excludes self -- so it's unusable if you try
// to give someone else in it a link to a particular message, say.
// * OK, unsorted: getNarrowFromMessage
// * OK, unsorted: getNarrowForReply
// * Good: getNarrowFromNotificationData: filters, and starts from
// notification's pm_users, which is sorted.
// * Good: messageHeaderAsHtml: comes from pmKeyRecipientsFromMessage,
Expand Down

0 comments on commit 09bf944

Please sign in to comment.