narrow-banner: Update invalid "sender" case for empty narrow banner.

Updates the empty narrow banner for an invalid user in the "Messages
sent by ..." view to better match what we show for an unknown channel.
This commit is contained in:
Lauryn Menard
2025-09-09 15:40:42 +02:00
committed by Tim Abbott
parent 52cad38f3e
commit 05b2036acd
2 changed files with 7 additions and 2 deletions

View File

@@ -447,7 +447,10 @@ export function pick_empty_narrow_banner(current_filter: Filter): NarrowBannerDa
};
}
return {
title: $t({defaultMessage: "This user does not exist!"}),
title: $t({
defaultMessage:
"This user doesn't exist, or you are not allowed to view any of their messages.",
}),
};
}
case "dm-including": {