Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/views/room/MemberListRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getUid = (room, ownUserId) => {

// Self DMs used to be created with the userId duplicated.
// Sometimes rooms can have 2 equal uids, but it's a self DM.
return uid ? room.uids[0] : undefined;
return uid || room.uids[0];
};

const MemberListRouter = ({ rid }) => {
Expand Down