RoomView: Correctly pass userId from matrix client

It isn't set in the state anywhere.
pull/21833/head
Robert Swain 2017-06-13 15:19:38 +02:00
parent 99b1de7f0e
commit e2759774fc
1 changed files with 1 additions and 1 deletions

View File

@ -1604,7 +1604,7 @@ module.exports = React.createClass({
var auxPanel = ( var auxPanel = (
<AuxPanel ref="auxPanel" room={this.state.room} <AuxPanel ref="auxPanel" room={this.state.room}
userId={this.state.userId} userId={MatrixClientPeg.get().credentials.userId}
conferenceHandler={this.props.ConferenceHandler} conferenceHandler={this.props.ConferenceHandler}
draggingFile={this.state.draggingFile} draggingFile={this.state.draggingFile}
displayConfCallNotification={this.state.displayConfCallNotification} displayConfCallNotification={this.state.displayConfCallNotification}