mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-11 15:16:35 +02:00
Merge pull request #338 from matrix-org/dbkr/fix_tab_complete_on_load
Update tab completion list when we have a room
This commit is contained in:
commit
da8f7df262
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user