diff --git a/app/resources/js/app.js b/app/resources/js/app.js index 05955bb..2387a64 100755 --- a/app/resources/js/app.js +++ b/app/resources/js/app.js @@ -267,7 +267,9 @@ const app = new Vue({ if (lastMessage.author._id === messageObject.author._id) { if (lastMessage.nickAuthor && messageObject.nickAuthor && lastMessage.nickAuthor.username === messageObject.nickAuthor.username) { return true; - } + } else { + return false; + } } if (lastMessage.author._id === messageObject.author._id) return true; }, @@ -569,4 +571,4 @@ const app = new Vue({ this.notification(text); } } -}); \ No newline at end of file +}); diff --git a/config.js b/config.js index 585f456..13bb3eb 100755 --- a/config.js +++ b/config.js @@ -1,8 +1,8 @@ module.exports = { ports: { - mainServerPort: 3000, + mainServerPort: 3005, }, - address: 'localhost', + address: 'b.hippoz.xyz', mongoUrl: 'mongodb://192.168.0.105:27017/app', bcryptRounds: 10, roleMap: { @@ -13,4 +13,4 @@ module.exports = { 'ADMIN': 4 }, gatewayStillNotConnectedTimeoutMS: 15*1000 -}; \ No newline at end of file +};