notification: Add a space in narrow to message content.

We have a space for this kind of texts in other places but somehow we
missed this case. This PR fixes the same.
This commit is contained in:
Akash Nimare 2018-09-17 22:10:45 +05:30 committed by showell
parent 1a3a791e0b
commit 2385b3d1d3
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ exports.received_messages = function (messages) {
function get_message_header(message) { function get_message_header(message) {
if (message.type === "stream") { if (message.type === "stream") {
return message.stream + ">" + message.subject; return message.stream + " > " + message.subject;
} }
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;