Merge pull request #2358 from matrix-org/bwindels/ignorecustomtags

Redesign: ignore any unknown tags
pull/21833/head
Bruno Windels 2018-12-17 14:09:23 +00:00 committed by GitHub
commit bdbf6f865e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {