Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5df5fed

Browse files
authored
Merge pull request #675 from matrix-org/dbkr/fix_timeline_notifs_empty
Fix timeline & notifs panel spuriously being empty
2 parents 2b67c12 + 470e760 commit 5df5fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/TimelinePanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ var TimelinePanel = React.createClass({
993993
);
994994
}
995995

996-
if (this.state.events.length == 0) {
996+
if (this.state.events.length == 0 && !this.state.canBackPaginate && this.props.empty) {
997997
return (
998998
<div className={ this.props.className + " mx_RoomView_messageListWrapper" }>
999999
<div className="mx_RoomView_empty">{ this.props.empty }</div>

0 commit comments

Comments
 (0)