Added incomingCallBox to header and removed from roomTile
This commit is contained in:
parent
f95a74951e
commit
45f17eb973
3 changed files with 50 additions and 36 deletions
|
@ -267,11 +267,11 @@ module.exports = React.createClass({
|
|||
tooltip = <RoomTooltip className="mx_RoomTile_tooltip" room={this.props.room} />;
|
||||
}
|
||||
|
||||
var incomingCallBox;
|
||||
if (this.props.incomingCall) {
|
||||
var IncomingCallBox = sdk.getComponent("voip.IncomingCallBox");
|
||||
incomingCallBox = <IncomingCallBox incomingCall={ this.props.incomingCall }/>;
|
||||
}
|
||||
//var incomingCallBox;
|
||||
//if (this.props.incomingCall) {
|
||||
// var IncomingCallBox = sdk.getComponent("voip.IncomingCallBox");
|
||||
// incomingCallBox = <IncomingCallBox incomingCall={ this.props.incomingCall }/>;
|
||||
//}
|
||||
|
||||
var RoomAvatar = sdk.getComponent('avatars.RoomAvatar');
|
||||
|
||||
|
@ -300,7 +300,7 @@ module.exports = React.createClass({
|
|||
{ label }
|
||||
{ badge }
|
||||
</div>
|
||||
{ incomingCallBox }
|
||||
{/* { incomingCallBox } */}
|
||||
{ tooltip }
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue