Appease the linter

pull/21833/head
Travis Ralston 2020-01-13 21:21:18 -07:00
parent 9188183c9b
commit 76183fc8fd
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ export default class DMInviteDialog extends React.PureComponent {
// Generates { userId: {member, rooms[]} } // Generates { userId: {member, rooms[]} }
const memberRooms = joinedRooms.reduce((members, room) => { const memberRooms = joinedRooms.reduce((members, room) => {
// Filter out DMs (we'll handle these in the recents section) // 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 return members; // Do nothing
} }