Skip to content

Commit 5f3721f

Browse files
committed
Tidying up
1 parent c056bdf commit 5f3721f

3 files changed

Lines changed: 1 addition & 20 deletions

File tree

‎skins/base/views/molecules/voip/CallView.js‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,5 @@ module.exports = React.createClass({
3737
return (
3838
<VideoView ref="video"/>
3939
);
40-
/*
41-
if (this.state && this.state.call) {
42-
if (this.state.call.type === "video") {
43-
return (
44-
<VideoView ref="video"/>
45-
);
46-
}
47-
else if (this.state.call.type === "voice") {
48-
// <WaveformView /> in the future.
49-
return (
50-
<div></div>
51-
);
52-
}
53-
}
54-
return (
55-
<div></div>
56-
); */
5740
}
5841
});

‎src/controllers/molecules/RoomHeader.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818

1919
/*
2020
* State vars:
21-
* this.state.callState = OUTBOUND|INBOUND|IN_CALL|NO_CALL
21+
* this.state.call_state = the UI state of the call (see CallHandler)
2222
*/
2323

2424
var dis = require("../../dispatcher");

‎src/controllers/molecules/voip/VideoView.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ limitations under the License.
1616

1717
'use strict';
1818

19-
var dis = require("../../../dispatcher");
20-
2119
module.exports = {
2220
};
2321

0 commit comments

Comments
 (0)