Fix message for PM outside current narrow

This resolve Trac #2270

(imported from commit ab814e8e50f48a53054c28f07579f65040edceb8)
This commit is contained in:
acrefoot 2014-02-24 12:41:11 -05:00 committed by Jessica McKellar
parent 09958cbf66
commit 7ebb3ec05d
1 changed files with 1 additions and 1 deletions

View File

@ -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;