mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-27 09:21:55 +02:00
fix double date separator
This commit is contained in:
parent
d5011f9382
commit
2b7a7f88b8
@ -413,7 +413,8 @@ module.exports = createReactClass({
|
||||
|
||||
// If this m.room.create event should be shown (room upgrade) then show it before the summary
|
||||
if (this._shouldShowEvent(mxEv)) {
|
||||
ret.push(...this._getTilesForEvent(prevEvent, mxEv, false));
|
||||
// pass in the mxEv as prevEvent as well so no extra DateSeparator is rendered
|
||||
ret.push(...this._getTilesForEvent(mxEv, mxEv, false));
|
||||
}
|
||||
|
||||
const summarisedEvents = []; // Don't add m.room.create here as we don't want it inside the summary
|
||||
|
Loading…
x
Reference in New Issue
Block a user