You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Appease the linter
This commit is contained in:
@@ -424,7 +424,8 @@ export default class InviteDialog extends React.PureComponent {
|
|||||||
const lastSpokeMembers = {}; // userId: room member
|
const lastSpokeMembers = {}; // userId: room member
|
||||||
for (const room of trueJoinedRooms) {
|
for (const room of trueJoinedRooms) {
|
||||||
// Skip low priority rooms and DMs
|
// Skip low priority rooms and DMs
|
||||||
if (Object.keys(room.tags).includes("m.lowpriority") || DMRoomMap.shared().getUserIdForRoomId(room.roomId)) {
|
const isDm = DMRoomMap.shared().getUserIdForRoomId(room.roomId);
|
||||||
|
if (Object.keys(room.tags).includes("m.lowpriority") || isDm) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user