From 4fffb55cc548add3112a8bf94901d3b6d5309fa7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Dec 2018 13:52:32 +0100 Subject: [PATCH 1/2] ignore any unknown tags --- src/stores/RoomListStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/RoomListStore.js b/src/stores/RoomListStore.js index 0f8e5d7b4d..84924232ea 100644 --- a/src/stores/RoomListStore.js +++ b/src/stores/RoomListStore.js @@ -226,7 +226,7 @@ class RoomListStore extends Store { // ignore any m. tag names we don't know about tagNames = tagNames.filter((t) => { - return !t.startsWith('m.') || lists[t] !== undefined; + return lists[t] !== undefined; }); if (tagNames.length) { From 532fb6ea783c85fbce56770c7d4bf8e87d23e96f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Dec 2018 13:58:36 +0100 Subject: [PATCH 2/2] update comment as well --- src/stores/RoomListStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/RoomListStore.js b/src/stores/RoomListStore.js index 84924232ea..c636c53631 100644 --- a/src/stores/RoomListStore.js +++ b/src/stores/RoomListStore.js @@ -224,7 +224,7 @@ 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 lists[t] !== undefined; });