From 76183fc8fd1a184dd54667efc9dbaab1877fb3e2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 13 Jan 2020 21:21:18 -0700 Subject: [PATCH] Appease the linter --- src/components/views/dialogs/DMInviteDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/DMInviteDialog.js b/src/components/views/dialogs/DMInviteDialog.js index 1a6e387f46..ceab2fea02 100644 --- a/src/components/views/dialogs/DMInviteDialog.js +++ b/src/components/views/dialogs/DMInviteDialog.js @@ -333,7 +333,7 @@ export default class DMInviteDialog extends React.PureComponent { // Generates { userId: {member, rooms[]} } const memberRooms = joinedRooms.reduce((members, room) => { // Filter out DMs (we'll handle these in the recents section) - if (!!DMRoomMap.shared().getUserIdForRoomId(room.roomId)) { + if (DMRoomMap.shared().getUserIdForRoomId(room.roomId)) { return members; // Do nothing }