1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03:00

Update tab completion list when we have a room

Fixes https://github.com/vector-im/vector-web/issues/1737
This commit is contained in:
David Baker
2016-07-12 18:30:37 +01:00
parent a8677b52ad
commit ac58520b3b

View File

@ -204,6 +204,9 @@ module.exports = React.createClass({
user_is_in_room = this.state.room.hasMembershipState(
MatrixClientPeg.get().credentials.userId, 'join'
);
// update the tab complete list now we have a room
this._updateTabCompleteList();
}
if (!user_is_in_room && this.state.roomId) {