fix up memberlist a bit more

This commit is contained in:
Matthew Hodgson 2015-07-17 21:29:41 +01:00
parent 6280adc6e7
commit 348aa3e5e1

View File

@ -252,8 +252,11 @@ module.exports = {
if (i > 0 && count < this.state.messageCap - 1) { if (i > 0 && count < this.state.messageCap - 1) {
if (this.state.room.timeline[i].sender && if (this.state.room.timeline[i].sender &&
this.state.room.timeline[i - 1].sender && this.state.room.timeline[i - 1].sender &&
this.state.room.timeline[i].sender.userId === (this.state.room.timeline[i].sender.userId ===
this.state.room.timeline[i - 1].sender.userId) this.state.room.timeline[i - 1].sender.userId) &&
(this.state.room.timeline[i].getType() ==
this.state.room.timeline[i - 1].getType())
)
{ {
continuation = true; continuation = true;
} }