possibly fix clumping again?

This commit is contained in:
David 2020-12-06 13:18:32 +00:00
parent 9b3ef21537
commit f0e6051fbe
2 changed files with 7 additions and 5 deletions

View file

@ -267,7 +267,9 @@ const app = new Vue({
if (lastMessage.author._id === messageObject.author._id) { if (lastMessage.author._id === messageObject.author._id) {
if (lastMessage.nickAuthor && messageObject.nickAuthor && lastMessage.nickAuthor.username === messageObject.nickAuthor.username) { if (lastMessage.nickAuthor && messageObject.nickAuthor && lastMessage.nickAuthor.username === messageObject.nickAuthor.username) {
return true; return true;
} } else {
return false;
}
} }
if (lastMessage.author._id === messageObject.author._id) return true; if (lastMessage.author._id === messageObject.author._id) return true;
}, },
@ -569,4 +571,4 @@ const app = new Vue({
this.notification(text); this.notification(text);
} }
} }
}); });

View file

@ -1,8 +1,8 @@
module.exports = { module.exports = {
ports: { ports: {
mainServerPort: 3000, mainServerPort: 3005,
}, },
address: 'localhost', address: 'b.hippoz.xyz',
mongoUrl: 'mongodb://192.168.0.105:27017/app', mongoUrl: 'mongodb://192.168.0.105:27017/app',
bcryptRounds: 10, bcryptRounds: 10,
roleMap: { roleMap: {
@ -13,4 +13,4 @@ module.exports = {
'ADMIN': 4 'ADMIN': 4
}, },
gatewayStillNotConnectedTimeoutMS: 15*1000 gatewayStillNotConnectedTimeoutMS: 15*1000
}; };