From 9b50daa7486ac95b700c579fd973b048b6838f47 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Tue, 26 Jun 2018 07:46:33 +0100
Subject: [PATCH] give Historical an emptyContent to make it look more
consistent and also to unbreak it since now !emptyContent get hidden
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---
src/components/structures/RoomSubList.js | 8 +++++++-
src/components/views/rooms/RoomList.js | 9 ++++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js
index 0b6f7eaa45..bd09241ce0 100644
--- a/src/components/structures/RoomSubList.js
+++ b/src/components/structures/RoomSubList.js
@@ -389,10 +389,16 @@ const RoomSubList = React.createClass({
: subListContent;
} else {
const Loader = sdk.getComponent("elements.Spinner");
+ if (this.props.showSpinner && !this.state.hidden) {
+ content =