diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 12806766e7..807bd27796 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -370,7 +370,7 @@ const UserOptionsSection: React.FC<{ }; const room = cli.getRoom(member.roomId); - if (room && room.getEventReadUpTo(member.userId)) { + if (room?.getEventReadUpTo(member.userId)) { readReceiptButton = ( { _t('Jump to read receipt') }