diff --git a/src/components/views/rooms/RoomTile.js b/src/components/views/rooms/RoomTile.js
index 0012f66306..20d0c9824c 100644
--- a/src/components/views/rooms/RoomTile.js
+++ b/src/components/views/rooms/RoomTile.js
@@ -114,6 +114,7 @@ module.exports = React.createClass({
badge =
{ badgeContent }
;
var label;
+ var tooltip;
if (!this.props.collapsed) {
var className = 'mx_RoomTile_name' + (this.props.isInvite ? ' mx_RoomTile_invite' : '');
let nameHTML = emojifyText(name);
@@ -123,6 +124,11 @@ module.exports = React.createClass({
} else {
label = ;
}
+
+ if (this.state.hover) {
+ var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
+ tooltip = ;
+ }
}
else if (this.state.hover) {
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
@@ -151,6 +157,7 @@ module.exports = React.createClass({
{ label }
{ badge }
{ incomingCallBox }
+ { tooltip }
));
}