ignore any unknown tags

pull/21833/head
Bruno Windels 2018-12-17 13:52:32 +01:00
parent 4264f915a2
commit 4fffb55cc5
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class RoomListStore extends Store {
// ignore any m. tag names we don't know about // ignore any m. tag names 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) {