Merge pull request #184 from matrix-org/dbkr/roomheader_unused_voip
Remove unused voice & video on-clicks from RoomHeader.
This commit is contained in:
commit
1522c0ad76
1 changed files with 0 additions and 16 deletions
|
@ -68,22 +68,6 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onVideoClick: function(e) {
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'place_call',
|
|
||||||
type: e.shiftKey ? "screensharing" : "video",
|
|
||||||
room_id: this.props.room.roomId
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
onVoiceClick: function() {
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'place_call',
|
|
||||||
type: "voice",
|
|
||||||
room_id: this.props.room.roomId
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
onNameChanged: function(value) {
|
onNameChanged: function(value) {
|
||||||
this.setState({ name : value });
|
this.setState({ name : value });
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue