From ac58520b3bce6dc32f16b53204f61e6a811b1fef Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 12 Jul 2016 18:30:37 +0100 Subject: [PATCH] Update tab completion list when we have a room Fixes https://github.com/vector-im/vector-web/issues/1737 --- src/components/structures/RoomView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index dc4b21a300..cfd359ea01 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -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) {