From 796a2e5e3a18ebbaa60d01dd8b3478cbfeeac99a Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 28 Jan 2016 11:15:43 +0000 Subject: [PATCH] Revert e5f4fa8c467830745a77d281ab90347230a3b6c3 as it's no longer what's desired. --- src/components/structures/RoomView.js | 40 ++++++--------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 12acdc21fd..a2a308ed5c 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1474,16 +1474,6 @@ module.exports = React.createClass({ } }, - onRegisterClicked: function() { - dis.dispatch({'action': 'logout'}); - dis.dispatch({'action': 'start_registration'}); - }, - - onLoginClicked: function() { - dis.dispatch({'action': 'logout'}); - dis.dispatch({'action': 'start_login'}); - }, - render: function() { var RoomHeader = sdk.getComponent('rooms.RoomHeader'); var MessageComposer = sdk.getComponent('rooms.MessageComposer'); @@ -1591,13 +1581,13 @@ module.exports = React.createClass({ // a connection! if (this.state.syncState === "ERROR") { statusBar = ( -
+
/!\ -
-
+
+
Connectivity to the server has been lost.
-
+
Sent messages will be stored until your connection has returned.
@@ -1621,13 +1611,13 @@ module.exports = React.createClass({ } else if (this.state.hasUnsentMessages) { statusBar = ( -