Auto-place a video call if the conf notification is clicked
This commit is contained in:
parent
2b65b4c2dc
commit
f89fbffe89
2 changed files with 9 additions and 1 deletions
|
@ -206,6 +206,14 @@ module.exports = {
|
|||
});
|
||||
},
|
||||
|
||||
onConferenceNotificationClick: function() {
|
||||
dis.dispatch({
|
||||
action: 'place_call',
|
||||
type: "video",
|
||||
room_id: this.props.roomId
|
||||
});
|
||||
},
|
||||
|
||||
componentDidMount: function() {
|
||||
if (this.refs.messageWrapper) {
|
||||
var messageWrapper = this.refs.messageWrapper.getDOMNode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue