From 22ba1049309b0256845ea4dc2868fe4dcddfd861 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 24 Mar 2014 18:17:55 -0400 Subject: [PATCH] chat style --- src/messaging.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {