Merge pull request #184 from matrix-org/dbkr/roomheader_unused_voip

Remove unused voice & video on-clicks from RoomHeader.
pull/21833/head
David Baker 2016-03-02 14:58:16 +00:00
commit 1522c0ad76
1 changed files with 0 additions and 16 deletions

View File

@ -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) {
this.setState({ name : value });
},