forked from hippoz/brainlet
possibly fix clumping again?
This commit is contained in:
parent
9b3ef21537
commit
f0e6051fbe
2 changed files with 7 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue