mirror of https://github.com/zulip/zulip.git
Fix message for PM outside current narrow
This resolve Trac #2270 (imported from commit ab814e8e50f48a53054c28f07579f65040edceb8)
This commit is contained in:
parent
09958cbf66
commit
7ebb3ec05d
|
@ -410,7 +410,7 @@ function get_message_header(message) {
|
||||||
if (message.display_recipient.length > 2) {
|
if (message.display_recipient.length > 2) {
|
||||||
return "group PM with " + message.display_reply_to;
|
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 yourself";
|
||||||
}
|
}
|
||||||
return "PM with " + message.display_reply_to;
|
return "PM with " + message.display_reply_to;
|
||||||
|
|
Loading…
Reference in New Issue