When accepting calls, go to the right room. Relink video elements when CallView loads.

This commit is contained in:
Kegan Dougal 2015-07-17 14:25:41 +01:00
parent b53640f892
commit b6f9ca0f95
3 changed files with 14 additions and 6 deletions

View file

@ -30,7 +30,6 @@ var KeyCode = {
module.exports = {
componentWillMount: function() {
this.dispatcherRef = dis.register(this.onAction);
this.tabStruct = {
completing: false,
original: null,
@ -126,6 +125,7 @@ module.exports = {
},
componentDidMount: function() {
this.dispatcherRef = dis.register(this.onAction);
this.sentHistory.init(
this.refs.textarea.getDOMNode(),
this.props.room.roomId