narrow: Rename by_recipient to narrow_by_recipient.

This would make the call `message_view.narrow_by_recipient` sound
better than `message_view.by_recipient`.
This commit is contained in:
Aman Agrawal
2024-06-05 07:35:04 +00:00
committed by Tim Abbott
parent 9374195418
commit 69cd263312
5 changed files with 6 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ export function initialize() {
if (message.type === "stream") {
narrow.by_topic(message_id, {trigger: "desktop_notification_reply"});
} else {
narrow.by_recipient(message_id, {trigger: "desktop_notification_reply"});
narrow.narrow_by_recipient(message_id, {trigger: "desktop_notification_reply"});
}
}