mirror of https://github.com/vector-im/riot-web
				
				
				
			Merge remote-tracking branch 'origin/develop' into develop
						commit
						feff4e85d4
					
				| 
						 | 
					@ -353,7 +353,7 @@ module.exports = React.createClass({
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    if (!isMembershipChange(collapsedMxEv) ||
 | 
					                    if (!isMembershipChange(collapsedMxEv) ||
 | 
				
			||||||
                        this._wantsDateSeparator(this.props.events[i], collapsedMxEv.getDate())) {
 | 
					                        this._wantsDateSeparator(mxEv, collapsedMxEv.getDate())) {
 | 
				
			||||||
                        break;
 | 
					                        break;
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -376,9 +376,7 @@ module.exports = React.createClass({
 | 
				
			||||||
                    // of MemberEventListSummary, render each member event as if the previous
 | 
					                    // of MemberEventListSummary, render each member event as if the previous
 | 
				
			||||||
                    // one was itself. This way, the timestamp of the previous event === the
 | 
					                    // one was itself. This way, the timestamp of the previous event === the
 | 
				
			||||||
                    // timestamp of the current event, and no DateSeperator is inserted.
 | 
					                    // timestamp of the current event, and no DateSeperator is inserted.
 | 
				
			||||||
                    const ret = this._getTilesForEvent(e, e, e === lastShownEvent);
 | 
					                    return this._getTilesForEvent(e, e, e === lastShownEvent);
 | 
				
			||||||
                    prevEvent = e;
 | 
					 | 
				
			||||||
                    return ret;
 | 
					 | 
				
			||||||
                }).reduce((a, b) => a.concat(b));
 | 
					                }).reduce((a, b) => a.concat(b));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (eventTiles.length === 0) {
 | 
					                if (eventTiles.length === 0) {
 | 
				
			||||||
| 
						 | 
					@ -397,6 +395,7 @@ module.exports = React.createClass({
 | 
				
			||||||
                    ret.push(this._getReadMarkerTile(visible));
 | 
					                    ret.push(this._getReadMarkerTile(visible));
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                prevEvent = mxEv;
 | 
				
			||||||
                continue;
 | 
					                continue;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue