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

Commit 2e45374

Browse files
t3chguyturt2live
andauthored
Update src/components/views/right_panel/UserInfo.tsx
Co-authored-by: Travis Ralston <[email protected]>
1 parent 0bb2683 commit 2e45374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/right_panel/UserInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ const UserOptionsSection: React.FC<{
370370
};
371371

372372
const room = cli.getRoom(member.roomId);
373-
if (room && room.getEventReadUpTo(member.userId)) {
373+
if (room?.getEventReadUpTo(member.userId)) {
374374
readReceiptButton = (
375375
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
376376
{ _t('Jump to read receipt') }

0 commit comments

Comments
 (0)