diff --git a/res/css/views/rooms/_RoomPreviewBar.scss b/res/css/views/rooms/_RoomPreviewBar.scss
index ea3b787971..6ac5546f78 100644
--- a/res/css/views/rooms/_RoomPreviewBar.scss
+++ b/res/css/views/rooms/_RoomPreviewBar.scss
@@ -39,6 +39,16 @@ limitations under the License.
margin: 10px 10px 10px 0;
flex: 0 0 auto;
}
+
+ .mx_RoomPreviewBar_footer {
+ font-size: 12px;
+ line-height: 20px;
+
+ .mx_Spinner {
+ vertical-align: middle;
+ display: inline-block;
+ }
+ }
}
.mx_RoomPreviewBar_dark {
diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js
index cda3f60fce..f02c4d45c3 100644
--- a/src/components/structures/RoomView.js
+++ b/src/components/structures/RoomView.js
@@ -1523,6 +1523,7 @@ module.exports = React.createClass({
+
+ {_t("Loading room preview")}
+
+ );
+ }
break;
}
case MessageCase.Kicked: {
@@ -433,7 +445,6 @@ module.exports = React.createClass({
}
const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
- const Spinner = sdk.getComponent('elements.Spinner');
let subTitleElements;
if (subTitle) {
@@ -484,6 +495,9 @@ module.exports = React.createClass({
{ secondaryButton }
{ primaryButton }
+
+ { footer }
+
);
},
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 3edaaf6241..8a54a4ba53 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -835,6 +835,7 @@
"Join the conversation with an account": "Join the conversation with an account",
"Sign Up": "Sign Up",
"Sign In": "Sign In",
+ "Loading room preview": "Loading room preview",
"You were kicked from %(roomName)s by %(memberName)s": "You were kicked from %(roomName)s by %(memberName)s",
"Reason: %(reason)s": "Reason: %(reason)s",
"Forget this room": "Forget this room",