diff --git a/src/components/views/rooms/RoomList.js b/src/components/views/rooms/RoomList.js
index 2722bad88b..c329e3f2a0 100644
--- a/src/components/views/rooms/RoomList.js
+++ b/src/components/views/rooms/RoomList.js
@@ -583,13 +583,18 @@ module.exports = React.createClass({
}
},
- _makeGroupInviteTiles() {
+ _makeGroupInviteTiles(filter) {
const ret = [];
+ const lcFilter = filter && filter.toLowerCase();
const GroupInviteTile = sdk.getComponent('groups.GroupInviteTile');
for (const group of MatrixClientPeg.get().getGroups()) {
- if (group.myMembership !== 'invite') continue;
- ret.push(