From 7091e7a4af4f6e48617c860c589d64cca4d55a53 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 25 Feb 2020 09:19:37 -0700 Subject: [PATCH] Use the right keyword --- src/components/views/dialogs/InviteDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/InviteDialog.js b/src/components/views/dialogs/InviteDialog.js index d229a4eedd..20c8fb5b14 100644 --- a/src/components/views/dialogs/InviteDialog.js +++ b/src/components/views/dialogs/InviteDialog.js @@ -335,7 +335,7 @@ export default class InviteDialog extends React.PureComponent { _buildRecents(excludedTargetIds: Set): {userId: string, user: RoomMember, lastActive: number} { const rooms = DMRoomMap.shared().getUniqueRoomsWithIndividuals(); // map of userId => js-sdk Room - // Also pull in all the rooms tagged as m.direct so we don't miss anything. Sometimes the + // Also pull in all the rooms tagged as TAG_DM so we don't miss anything. Sometimes the // room list doesn't tag the room for the DMRoomMap, but does for the room list. const taggedRooms = RoomListStore.getRoomLists(); const dmTaggedRooms = taggedRooms[TAG_DM];