1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Don't try to match query against roomId

We only care about aliases.
This commit is contained in:
Luke Barnard
2017-08-02 09:40:00 +01:00
parent 8053d2933a
commit dbade448c1

View File

@@ -42,7 +42,7 @@ export default class RoomProvider extends AutocompleteProvider {
constructor() {
super(ROOM_REGEX);
this.matcher = new FuzzyMatcher([], {
keys: ['displayedAlias', 'name', 'roomId'],
keys: ['displayedAlias', 'name'],
});
}