mirror of https://github.com/vector-im/riot-web
Merge pull request #184 from matrix-org/dbkr/roomheader_unused_voip
Remove unused voice & video on-clicks from RoomHeader.pull/21833/head
commit
1522c0ad76
|
@ -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…
Reference in New Issue