You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
fix double date separator
This commit is contained in:
@ -416,7 +416,8 @@ export default class MessagePanel extends React.Component {
|
|||||||
|
|
||||||
// If this m.room.create event should be shown (room upgrade) then show it before the summary
|
// If this m.room.create event should be shown (room upgrade) then show it before the summary
|
||||||
if (this._shouldShowEvent(mxEv)) {
|
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
|
const summarisedEvents = []; // Don't add m.room.create here as we don't want it inside the summary
|
||||||
|
Reference in New Issue
Block a user