From bb5895c157a0c6f981dbe695780b1e81584391a3 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 20 Oct 2015 11:30:54 +0100 Subject: [PATCH] move mute state into the existing voice/video buttons for now. move zoom button to that set for now --- .../vector/views/molecules/RoomHeader.js | 33 +++++++++++-------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/skins/vector/views/molecules/RoomHeader.js b/src/skins/vector/views/molecules/RoomHeader.js index 527bf2f7a6..8b88c62350 100644 --- a/src/skins/vector/views/molecules/RoomHeader.js +++ b/src/skins/vector/views/molecules/RoomHeader.js @@ -58,12 +58,14 @@ module.exports = React.createClass({ else { var topic = this.props.room.currentState.getStateEvents('m.room.topic', ''); - var callButtons; + var call_buttons; + var zoom_button; if (this.state && this.state.call_state != 'ended') { var muteVideoButton; var activeCall = ( CallHandler.getCallForRoom(this.props.room.roomId) ); +/* if (activeCall && activeCall.type === "video") { muteVideoButton = (
); } - - callButtons = ( -
-
- End call -
{muteVideoButton}
@@ -90,9 +85,18 @@ module.exports = React.createClass({ "Unmute" : "Mute") + " audio" }
-
- Fullscreen -
+*/ + + call_buttons = ( +
+ End call +
+ ); + + zoom_button = ( +
+ Fullscreen
); } @@ -143,18 +147,19 @@ module.exports = React.createClass({ { topic_el }
- {callButtons} + {call_buttons} {cancel_button} {save_button}
{ settings_button } + { zoom_button }
Search
-
+
Video call
-
+
VoIP call