mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Merge pull request #2358 from matrix-org/bwindels/ignorecustomtags
Redesign: ignore any unknown tags
This commit is contained in:
commit
bdbf6f865e
1 changed files with 2 additions and 2 deletions
|
@ -224,9 +224,9 @@ class RoomListStore extends Store {
|
|||
}
|
||||
}
|
||||
|
||||
// ignore any m. tag names we don't know about
|
||||
// ignore tags we don't know about
|
||||
tagNames = tagNames.filter((t) => {
|
||||
return !t.startsWith('m.') || lists[t] !== undefined;
|
||||
return lists[t] !== undefined;
|
||||
});
|
||||
|
||||
if (tagNames.length) {
|
||||
|
|
Loading…
Reference in a new issue