From 5f3721f4712dc77684fa2906e54e5189122bc729 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 16 Jul 2015 11:54:53 +0100 Subject: [PATCH] Tidying up --- skins/base/views/molecules/voip/CallView.js | 17 ----------------- src/controllers/molecules/RoomHeader.js | 2 +- src/controllers/molecules/voip/VideoView.js | 2 -- 3 files changed, 1 insertion(+), 20 deletions(-) diff --git a/skins/base/views/molecules/voip/CallView.js b/skins/base/views/molecules/voip/CallView.js index cbdcc4c2..3642e6b5 100644 --- a/skins/base/views/molecules/voip/CallView.js +++ b/skins/base/views/molecules/voip/CallView.js @@ -37,22 +37,5 @@ module.exports = React.createClass({ return ( ); - /* - if (this.state && this.state.call) { - if (this.state.call.type === "video") { - return ( - - ); - } - else if (this.state.call.type === "voice") { - // in the future. - return ( -
- ); - } - } - return ( -
- ); */ } }); \ No newline at end of file diff --git a/src/controllers/molecules/RoomHeader.js b/src/controllers/molecules/RoomHeader.js index 766f9b40..24f0d47a 100644 --- a/src/controllers/molecules/RoomHeader.js +++ b/src/controllers/molecules/RoomHeader.js @@ -18,7 +18,7 @@ limitations under the License. /* * State vars: - * this.state.callState = OUTBOUND|INBOUND|IN_CALL|NO_CALL + * this.state.call_state = the UI state of the call (see CallHandler) */ var dis = require("../../dispatcher"); diff --git a/src/controllers/molecules/voip/VideoView.js b/src/controllers/molecules/voip/VideoView.js index b08f6ab1..8aa688b2 100644 --- a/src/controllers/molecules/voip/VideoView.js +++ b/src/controllers/molecules/voip/VideoView.js @@ -16,8 +16,6 @@ limitations under the License. 'use strict'; -var dis = require("../../../dispatcher"); - module.exports = { };