RoomView: Correctly pass userId from matrix client

It isn't set in the state anywhere.
This commit is contained in:
Robert Swain 2017-06-13 15:19:38 +02:00
parent 99b1de7f0e
commit e2759774fc

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}