From f0e6051fbe04a49e588943a6f6feb76e2d6c20a4 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 6 Dec 2020 13:18:32 +0000 Subject: [PATCH] possibly fix clumping again? --- app/resources/js/app.js | 6 ++++-- config.js | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) 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 +};