call matches with normalized name

This commit is contained in:
Germain Souquet 2021-05-20 10:57:20 +01:00
parent 66ffaf945f
commit 83e2461155

View file

@ -62,7 +62,7 @@ export class NameFilterCondition extends EventEmitter implements IFilterConditio
if (!room.name) return false; // should realistically not happen: the js-sdk always calculates a name if (!room.name) return false; // should realistically not happen: the js-sdk always calculates a name
return this.matches(room.name); return this.matches(room.normalizedName);
} }
public matches(normalizedName: string): boolean { public matches(normalizedName: string): boolean {