mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Tidying up
This commit is contained in:
parent
c056bdf104
commit
5f3721f471
@ -37,22 +37,5 @@ module.exports = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<VideoView ref="video"/>
|
<VideoView ref="video"/>
|
||||||
);
|
);
|
||||||
/*
|
|
||||||
if (this.state && this.state.call) {
|
|
||||||
if (this.state.call.type === "video") {
|
|
||||||
return (
|
|
||||||
<VideoView ref="video"/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
else if (this.state.call.type === "voice") {
|
|
||||||
// <WaveformView /> in the future.
|
|
||||||
return (
|
|
||||||
<div></div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
<div></div>
|
|
||||||
); */
|
|
||||||
}
|
}
|
||||||
});
|
});
|
@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* State vars:
|
* 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");
|
var dis = require("../../dispatcher");
|
||||||
|
@ -16,8 +16,6 @@ limitations under the License.
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var dis = require("../../../dispatcher");
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user