From 2274cb3f7fb698c629dbc966d791c97ddaa89524 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 18 Jan 2016 20:18:46 +0000 Subject: [PATCH] fix invite prompt --- src/components/views/rooms/RoomPreviewBar.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/views/rooms/RoomPreviewBar.js b/src/components/views/rooms/RoomPreviewBar.js index 6c39e67510..52e6639f13 100644 --- a/src/components/views/rooms/RoomPreviewBar.js +++ b/src/components/views/rooms/RoomPreviewBar.js @@ -40,15 +40,14 @@ module.exports = React.createClass({ render: function() { var joinBlock, previewBlock; - if (this.props.inviter) { + if (this.props.inviterName) { joinBlock = (
You have been invited to join this room by { this.props.inviterName }
- Would you like to accept or - decline this invitation? + Would you like to accept or decline this invitation?
);