diff --git a/src/messaging.js b/src/messaging.js index 46dbec19ca..33558f9874 100644 --- a/src/messaging.js +++ b/src/messaging.js @@ -85,10 +85,10 @@ var db = require('./database'), if (parseInt(fromuid, 10) === parseInt(myuid, 10)) { picture = ''; - username = ' '+ myUserData.username + ': '; + username = ' '+ myUserData.username + ' '; } else { picture = ''; - username = ' ' + toUserData.username + ': '; + username = ' ' + toUserData.username + ' '; } var messageData = { @@ -99,7 +99,7 @@ var db = require('./database'), toUserData: toUserData, myUserData: myUserData, isNew: isNew, - parsedMessage: picture + username + parsed + parsedMessage: picture + '' + username + '
' + parsed }; plugins.fireHook('filter:messaging.parse', messageData, function(err, messageData) {