mirror of https://github.com/vector-im/riot-web
call matches with normalized name
parent
66ffaf945f
commit
83e2461155
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue