mirror of https://github.com/vector-im/riot-web
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);
|
const room = cli.getRoom(member.roomId);
|
||||||
if (room && room.getEventReadUpTo(member.userId)) {
|
if (room?.getEventReadUpTo(member.userId)) {
|
||||||
readReceiptButton = (
|
readReceiptButton = (
|
||||||
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
|
<AccessibleButton onClick={onReadReceiptButton} className="mx_UserInfo_field">
|
||||||
{ _t('Jump to read receipt') }
|
{ _t('Jump to read receipt') }
|
||||||
|
|
Loading…
Reference in New Issue