Update src/components/views/right_panel/UserInfo.tsx
Co-authored-by: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
0bb26831ae
commit
2e45374cf8
|
@ -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 = (
|
||||
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
|
||||
{ _t('Jump to read receipt') }
|
||||
|
|
Loading…
Reference in New Issue