Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
rename some descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 committed Nov 24, 2022
1 parent e708b47 commit ec9295a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/dialogs/InviteDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ export default class InviteDialog extends React.PureComponent<Props, IInviteDial
const members = Object.values(buildMemberScores(client)).map(({ member }) => member.userId);
// users with dm membership
const roomMembers = Object.keys(DMRoomMap.shared().getUniqueRoomsWithIndividuals());
roomMembers.forEach(user => members.push(user));
roomMembers.forEach(id => members.push(id));
// filter duplicates and user IDs from external servers
const externals = new Set(members.filter(id => !id.includes(homeserver)));
externals.forEach(user => excludedTargetIds.add(user));
externals.forEach(id => excludedTargetIds.add(id));
}

public static buildRecents(excludedTargetIds: Set<string>): IRecentUser[] {
Expand Down

0 comments on commit ec9295a

Please sign in to comment.