banner: Update banner text for notify_messages_outside_current_search.

This commit updates the banner text in the case of message sent
while in search view to match the narrow_to_recipient_banner text
displayed in other cases.
This commit is contained in:
Prakhar Pratyush
2024-07-10 18:34:07 +05:30
committed by Tim Abbott
parent 91e935c695
commit 5cdebcb2dd

View File

@@ -296,7 +296,7 @@ export function notify_messages_outside_current_search(messages: Message[]): voi
{message_recipient: get_message_header(message)},
);
notify_above_composebox(
$t({defaultMessage: "Sent! Your recent message is outside the current search."}),
$t({defaultMessage: "Sent! Your message is outside your current view."}),
compose_banner.CLASSNAMES.narrow_to_recipient,
above_composebox_narrow_url,
message.id,