call matches with normalized name

pull/21833/head
Germain Souquet 2021-05-20 10:57:20 +01:00
parent 66ffaf945f
commit 83e2461155
1 changed files with 1 additions and 1 deletions

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
return this.matches(room.name);
return this.matches(room.normalizedName);
}
public matches(normalizedName: string): boolean {