mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
Fix message for PM outside current narrow
This resolve Trac #2270 (imported from commit ab814e8e50f48a53054c28f07579f65040edceb8)
This commit is contained in:
committed by
Jessica McKellar
parent
09958cbf66
commit
7ebb3ec05d
@@ -410,7 +410,7 @@ function get_message_header(message) {
|
||||
if (message.display_recipient.length > 2) {
|
||||
return "group PM with " + message.display_reply_to;
|
||||
}
|
||||
if (message.display_recipient.length === 1) {
|
||||
if (message.reply_to === page_params.email) {
|
||||
return "PM with yourself";
|
||||
}
|
||||
return "PM with " + message.display_reply_to;
|
||||
|
||||
Reference in New Issue
Block a user