mirror of https://github.com/vector-im/riot-web
				
				
				
			Merge pull request #675 from matrix-org/dbkr/fix_timeline_notifs_empty
Fix timeline & notifs panel spuriously being emptypull/21833/head
						commit
						5df5fed6f5
					
				|  | @ -993,7 +993,7 @@ var TimelinePanel = React.createClass({ | |||
|             ); | ||||
|         } | ||||
| 
 | ||||
|         if (this.state.events.length == 0) { | ||||
|         if (this.state.events.length == 0 && !this.state.canBackPaginate && this.props.empty) { | ||||
|             return ( | ||||
|                     <div className={ this.props.className + " mx_RoomView_messageListWrapper" }> | ||||
|                         <div className="mx_RoomView_empty">{ this.props.empty }</div> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Richard van der Hoff
						Richard van der Hoff