mirror of https://github.com/vector-im/riot-web
Merge pull request #2358 from matrix-org/bwindels/ignorecustomtags
Redesign: ignore any unknown tagspull/21833/head
commit
bdbf6f865e
|
@ -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) => {
|
tagNames = tagNames.filter((t) => {
|
||||||
return !t.startsWith('m.') || lists[t] !== undefined;
|
return lists[t] !== undefined;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (tagNames.length) {
|
if (tagNames.length) {
|
||||||
|
|
Loading…
Reference in New Issue